-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (67 loc) · 4.21 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
69
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://code.responsivevoice.org/responsivevoice.js"></script>
<link rel="icon" type="image/x-icon" href="assets\img\favicon.ico">
<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=Chakra+Petch:wght@700&family=Inter:wght@400;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="styles/style.css">
<title>Decodificador One - Oracle + Alura</title>
</head>
<body>
<header class="cabecalho">
<img class="logo" src="assets\img\logo.png" alt="Logo da Alura">
<h1>Decodificador</h1>
</header>
<main>
<section class="container">
<div class="container__conteudo">
<div class="container__conteudo__secaohum">
<textarea class="container__conteudo__secaohum__texto-entrada" id="texto_entrada" rows="7" cols="50" placeholder="Digite o que deseja criptografar:"></textarea>
<div class="container__conteudo__secaohum__alerta">
<img class="container__conteudo__secaohum__img-alerta" src="assets\img\alert1.svg" alt="Alerta de como inserir os textos. Insira letras minúsculas e sem acentos.">
<label class="container__conteudo__secaohum__texto-alerta">Insira palavras ou textos sem acentos.</label>
</div>
<div class="container__conteudo__secaohum__opcoes">
<button id="cripto" class="container__conteudo__secaohum__botao-cripitografa" onclick="criptografa()">Criptografar</button>
<button id="descrito" class="container__conteudo__secaohum__botao-descripitografa" onclick="descriptografa()">Descriptografar</button>
</div>
</div>
<div class="container__conteudo__secaodois">
<textarea class="container__conteudo__secaodois__texto-saida" id="texto_saida" rows="7" cols="50" placeholder="Aqui você verá seu texto criptografado!"></textarea>
<div id="alertas">
<img id="imgboneco" class="container__conteudo__secaodois__imagem" src="assets\img\guy-search.svg" alt="Garoto buscando palavras para criptografar.">
<div id="texto-alerta" class="container__conteudo__secaodois__texto">
<h3>Nenhum texto criptografado...</h3>
<p>Digite um texto que você deseja criptografar ou descriptografar.</p>
</div>
</div>
<div class="container__conteudo__secaodois__whatsapp">
<input class="container__conteudo__secaodois__campo-whatsapp" id="meio-envio" placeholder="Digite DDD e número">
<a id="btn-whatsapp" onclick="envioWhatsapp()"><img src="assets\img\whatsapp.png" alt="Enviar criptografia por Whatsapp"></a>
</div>
<button id="btn-copia" class="container__conteudo__secaodois__botao-copia" onclick="copiarTexto()">Copiar</button>
</div>
</div>
</section>
</main>
<footer class="rodape">
<div>
<h2>Desenvolvido por Marcelo Cardoso</h2>
</div>
<p> #challengeonedecodificador5</p>
<p>T6</p>
<div class="rodape__container__links">
<a href="https://github.com/marceloc4rdoso" target="_blank"><img src="assets\img\github.svg"></a>
<a href="https://www.linkedin.com/in/marcelo-cardoso-de-oliveira-43273833/" target="_blank"><img src="assets\img\linkedin.svg"></a>
<a href="https://twitter.com/Marcelo_c4rdoso" target="_blank"><img src="assets\img\twitterx.svg"></a>
</div>
</footer>
<script src="js\app.js" defer></script>
</body>
</html>