-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (88 loc) · 3.4 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-r6IEXDRqfo7yoE2qF7PyHpkq5K0eBsQcH2FfdZzvZuAiBRVvO5Mo2cyF5BI5VlUf"
crossorigin="anonymous"
/>
<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=Itim&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&family=Inter&family=Roboto&family=Roboto+Condensed:wght@700&family=Titillium+Web:wght@700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>JS Game</title>
</head>
<body>
<header>
<div class="logo">
<img src="logo.svg" alt="logo-da-alura" />
</div>
<div class="titlePage">
<h1>Encriptador de texto</h1>
</div>
</header>
<main class="allContent">
<section class="leftView">
<div class="inputMain">
<textarea
class="inputUser"
id="entrada"
placeholder="Digite seu texto"
maxlength="50"
></textarea>
<div class="msgInputType">
<p class="info" maxlength="150">
Apenas letras minúsculas e sem acento.
</p>
</div>
</div>
<div class="inputButtons">
<button class="cripitografar" onclick="encryptText()">
Cripitografar
</button>
<button
onclick="decryptText()"
class="descripitografar"
type="submit"
>
Descripitografar
</button>
</div>
</section>
<section class="rightView">
<div class="rightViewItems">
<div class="textView">
<textarea
class="result form-control"
id="result"
oninput="adicionarQuebraDeLinha()"
readonly
></textarea>
</div>
<div class="copiar">
<button class="btnCopiar" onclick="copyText()">
Copiar
</button>
</div>
</div>
</section>
</main>
<script src="./app.js" defer></script>
<!-- Bootstrap JS, Popper.js, and jQuery -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-i8bIb7a2qJ7fZBJv8f3HV2bZkLFF2bPWf+eJR6jVtL4E02DJTRVJ6eCcYpdP5OZ"
crossorigin="anonymous"
></script>
</body>
</html>