-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (52 loc) · 2.15 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" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Generador de passwords hecho en javascript" />
<meta name="theme-color" content="#34495e" />
<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=Roboto:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./css/styles.css" />
<link rel="icon" href="./assets/icons/favicon.ico" />
<link rel="favicon" href="./assets/icons/favicon.png" />
<link rel="apple-touch-icon" href="./assets/icons/apple-touch-icon.png" />
<script defer src="https://kit.fontawesome.com/a74e3c1ac7.js" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script defer src="./js/app.js"></script>
<title>Password Generator</title>
</head>
<body>
<div class="container">
<h2>Generador de passwords</h2>
<div class="result-container">
<span id="result"></span>
<button class="btn" id="clipboard"><i class="far fa-clipboard"></i></button>
</div>
<div class="settings">
<div class="setting">
<label for="length">Longitud del password</label>
<input type="number" id="length" min="4" max="20" value="20" />
</div>
<div class="setting">
<label for="uppercase">Incluye letras en mayúscula</label>
<input type="checkbox" id="uppercase" checked />
</div>
<div class="setting">
<label for="lowercase">Incluye letras en minúscula</label>
<input type="checkbox" id="lowercase" checked />
</div>
<div class="setting">
<label for="number">Incluye números</label>
<input type="checkbox" id="numbers" checked />
</div>
<div class="setting">
<label for="symbols">Incluye símbolos</label>
<input type="checkbox" id="symbols" checked />
</div>
</div>
<button class="btn btn-large" id="generate">Generar password</button>
</div>
</body>
</html>