-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (64 loc) · 2.13 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
<!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
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
crossorigin="anonymous"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Bungee&family=Bungee+Hairline&family=Quicksand:wght@300&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="src/style.css" />
<title>Random Password Generator</title>
</head>
<body>
<div class="container">
<h1>Password Generator</h1>
<div class="result-container">
<span id="result"></span>
<button class="btn btn-outline-light" id="clipboard">📎</button>
</div>
<div class="selections">
<div class="select">
<label>Password length</label>
<input type="number" id="length" min="6" max="20" value="20" />
</div>
<div class="select">
<label>Include lowercase letters</label>
<input type="checkbox" id="lowercase" unchecked />
</div>
<div class="select">
<label>Include UPPERCASE letters</label>
<input type="checkbox" id="uppercase" unchecked />
</div>
<div class="select">
<label>Include numbers</label>
<input type="checkbox" id="numbers" unchecked />
</div>
<div class="select">
<label>Include symbols</label>
<input type="checkbox" id="symbols" unchecked />
</div>
</div>
<button class="btn btn-outline-light" id="generate">
Generate Password
</button>
</div>
<footer>
<a
href="https://github.com/mllaybolt/random-password-generator"
target="_blank"
>Open-source code</a
>
written by Michelle L
</footer>
<script src="src/app.js"></script>
</body>
</html>