-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (69 loc) · 3.48 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>Encriptador Phatos</title>
<link rel="shortcut icon" href="/src/ICO/Cheems-PNG-1-ConvertImage.ico">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="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>
<img class="banner-logo" src="./src/Vector.png" alt="alura-logo">
</header>
<main>
<section class="encript-section">
<textarea class="text-area-input" name="lefttext" id="textinput" cols="30" rows="13"
placeholder="Ingresa el texto aquí"></textarea>
<p class="warning-text">⚠ Solo letras minúsculas y sin acentos</p>
<div class="buttonsSection">
<button onClick="encryptButton()" id="encrButton" class="encryptButton">Encriptar</button>
<button onClick="desencryptButton()" class="desencryptButton">Desencriptar</button>
</div>
</section>
<section class="desencript-section">
<!-- Caso inicial --- No hay mensaje -->
<div id="non-message-div" class="righside-box-size non-message-modal-section">
<img class="modal-cheems-image" src="./src/modal/Cheems-PNG (1).png" alt="no-message-img">
<p class="modal-non-message-principal">Ningún mensaje fue encontrado</p>
<p class="modal-non-message-secundary">Ingresa el texto que desees encriptar o desencriptar</p>
</div>
<!-- Mensaje encriptado -->
<div class="hide" id="encripted-message-div" class="righside-box-size encripted-message-section">
<textarea disabled class="encripted-message-text-area" id="" cols="30" rows="10"></textarea>
<div class="copy-button-box">
<button onclick="copyText()" id="copyButton" class="desencryptButton">Copiar</button>
</div>
</div>
<!-- Manejo de errores -->
<div class="hide" id="error-div" class="righside-box-size non-message-modal-section" >
<img class="modal-cheems-image" src="src/modal/e64d2f640b07a61f3dbbc1431abe3190.png" alt="error-image">
<p id="error-message" class="modal-non-message-principal"></p>
<p class="modal-non-message-secundary">Ingresa el texto que desees encriptar o desencriptar</p>
</div>
<!-- Easter egg jejejeje -->
<div class="hide" id="easter-egg-div" class="righside-box-size non-message-modal-section" >
<img class="modal-cheems-image" src="src/modal/80427.png" alt="error-image">
<p class="modal-non-message-principal easter-egg">Mine Lebenslangerschicksalsschatz</p>
<p class="modal-non-message-secundary">Siempre seras mi tesoro más grande, mi luz ante la oscuridad, mi salvación de todo</p>
</div>
</section>
</main>
<footer>
<div>
<p>Hecho con ♡ por un PatoProgramador</p>
</div>
<div>
<p>© Copyright Kevin Patiño - 2024</p>
</div>
<div>
<p>Oracle Next Education</p>
</div>
</footer>
</body>
<script src="app.js"></script>
</html>