-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (41 loc) · 1.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Reto Encriptador Alura</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<header>
<div class="caja">
<h1><img src="imágenes/Logo.png" ></h1>
<h2 class="tituloprincipal">RETO ENCRIPTADOR - ALURA</H2>
</div>
</header>
<main class="main">
<section>
<textarea class="text-area" id="campo" cols="30" rows="10" placeholder="Ingrese el texto aqui" onKeyUp="document.getElementById(this.id).value=document.getElementById(this.id).value.toLowerCase()"> </textarea>
<div>
<h4 class="información"><img src="imágenes/bi_exclamation-circle-fill.png ">Solo letras minúsculas y sin acento </h4>
</div>
<div class="btn">
<button class="btnEncriptar" onclick="btnEncriptar()">Encriptar</button>
<button class="btnDesencriptar" onclick="btnDesencriptar()">Desencriptar</button>
</div>
</section>
<section class="Copiar">
<textarea class="mensaje" cols="20" rows="10" placeholder="Texto Desencriptado" disabled> </textarea>
<div>
<button class="btnCopiar" onclick="btnCopiar()">Copiar</button>
</div>
</section>
</main>
<footer>
<p class="copyright">© Copyright Gysleine Sarmiento 2024</p>
</footer>
<script src="codigo.js"></script>
</body>
</html>