-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (60 loc) · 2.79 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Decodificador de Texto - Alura Challenges Oracle ONE</title>
<link rel="stylesheet" href="src/reset.css">
<link rel="stylesheet" href="src/style.css">
<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=Inter:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
<header>
</header>
<main>
<section class="container">
<div class="logo-container">
<!-- Logo Alura -->
<img src="img/Vector.svg" alt="Logo Alura" class="logo">
</div>
<div class="section">
<!-- Entrada de texto -->
<form id="text-form">
<div class="input-section">
<textarea class="input-text" id="inputValue" placeholder="Digite seu texto"></textarea>
<div class="warning">
<img src="img/exclamacaovetor.svg" alt="exclamação" class="warning-img">
<p class="warning-text">Apenas letras minúsculas e sem acento.</p>
</div>
<div class="btn-container">
<button type="button" class="btn" id="btnCriptografar" onclick="criptoValue()">Criptografar</button>
<button type="button" class="btn" id="btnDescritografar" onclick="descriptoValue()">Descriptografar</button>
</div>
</div>
</form>
</div>
<div class="section">
<!-- Resultado -->
<div class="result-container">
<div class="result">
<img src="img/Highqualityproducts.svg" alt="Sem texto" id="result-image">
</div>
<div class="result-text" id="result-text">
<h1>Nenhuma mensagem encontrada</h1>
<p class="result-text-content">Digite um texto que você deseja criptografar ou descriptografar.</p>
</div>
<button id="btnCopiar" class="btn btn-container" onclick="copiarTexto()" style="display: none;">Copiar</button>
</div>
</div>
</section>
</main>
<footer>
<div class="footer-content">
Desenvolvido por <a href="https://www.linkedin.com/in/marcostullio/">Marcos Tullio</a> 🧑🏾💻
</div>
</footer>
<script src="src/script.js"></script>
</body>
</html>