-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (39 loc) · 1.49 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
<html>
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.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@400;500&family=Karla:wght@800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body>
<!-- Main section -->
<main>
<h1>Generate a
<span> random password </span>
</h1>
<p>Never use an insecure password again.</p>
</main>
<section id="user-input">
<div>
<label>Length :</label>
<input type="number" id="length-inp" min="8" max="17">
</div>
<div>
<label> Numbers :</label>
<input type="checkbox" id="numbers-check">
</div>
<div>
<label> Symbols :</label>
<input type="checkbox" id="symbols-check">
</div>
<button onclick="generate()">Generate passwords</button>
</section>
<hr>
<!-- Password section -->
<section id="password-section">
<p class="passwords"></p>
<p class="passwords"></p>
</section>
<script src="index.js"></script>
</body>
</html>