-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (59 loc) · 2.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/Challenge-Oracle-ONE/reset.css">
<link rel="stylesheet" href="/Challenge-Oracle-ONE/style.css">
<title>D3C!FR4-M£</title>
</head>
<body>
<header>
<nav>
<a href="http://alura.com.br" class="logo-nav"></a>
<div class="botao-nav">
<button id="dark" onclick="contraste()" class="switch-mode">💡</button>
</div>
</header>
<main>
<section class="original">
<article>
<textarea type="text" id="message" cols="30" rows="10" maxlength="1000" placeholder="Digite aqui o seu texto..."></textarea>
</article>
<p>⚠ Apenas letras minúsculas e sem acentos</p>
<div class="botoes-div">
<button class="botao-1" onclick="crypto()" id="crypto">Criptografar</button>
<button class="botao-2" onclick="decrypto()">Descriptografar</button>
</div>
</section>
<section >
<article class="cifrado">
<div class="oculto" id="conteudo_cifrado">
<p id="conteudo"></p>
</div>
<div class="sem_conteudo" id="sem_conteudo">
<div class="img-search"></div>
<h3>Não há nenhuma mensagem aqui.</h3>
<p>Escreva alguma mensagem para criptografar ou descriptografar</p>
</div>
<div class="btns" id="btn-visibility">
<button class="botao-2" id="copiar" onclick="copiar()">Copiar</button>
<button class="botao-2" id="limpar" onclick="limpar()">Limpar</button>
</div>
</article>
</section>
</main>
<footer>
<p>Developed by Bruno Marques | Challenge ONE - Alura</p>
<div class="link">
<a href="https://www.linkedin.com/in/b-marques/"><img width="20" src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/linkedin/linkedin-plain.svg"/>LinkedIn</a>
<a href="https://github.com/o-Drive"><img width="20" src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/github/github-original.svg" />Github</a>
</div>
</footer>
<script src="/Challenge-Oracle-ONE/js/functions.js"></script>
</body>
</html>