-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (41 loc) · 2.18 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
<!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="icon" type="image/png" href="./Imagenes/encryption.png" />
<title>Encriptador By MPre2</title>
<link rel="stylesheet" href="style.css">
</head>
<body class="body"><!--Le damos clase al BODY para poder generar el color de fondo-->
<header>
<h1>Encriptador</h1>
</header>
<main>
<div class="recuadros">
<div class="encriptado">
<!--Genera el area de texto para ingresar frase a encriptar o desencritar-->
<textarea id="texto" placeholder="Ingrese el texto AQUÍ" required></textarea>
<!--Notificacion inferior-->
<p id="aviso"><b>!!!</b>Solo letras minúsculas y sin acento</p>
<div class="buttons">
<button id="encriptar" type="button" onclick="encriptar();">Encriptar</button>
<button id="desencriptar" type="button" onclick="desencriptar();">Desencriptar</button>
</div>
</div>
<div class="desencriptado">
<!--Genera area de texto de salida-->
<textarea id="textout" placeholder="Aún no ingreso texto a encriptar/desencriptar" required></textarea><br>
<!--Generamos tres botones -Encriptar, Desencriptar y copiar-->
<button id="copiar" type="button" onclick="copiar();">Copiar</button>
</div>
</div>
<script src="./main.js"></script><!--Llamada al archivo JavaScript externo-->
</main>
<footer id="rooster">
<!--Pie de pagina con los datos del desarrollador-->
<p>© 2022 - Diseño y desarrollo<a href="https://www.linkedin.com/in/matias-presta/" style="text-decoration:none"> MPre2</a></p>
</footer>
</body>
</html>