-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 1.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Password Generator 🗝️</title>
<script
src="https://kit.fontawesome.com/1935d064dd.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<section>
<div class="container box">
<h1> 🧙🏽Password Generator</h1>
<div class="p-header">
<input type="text" id="password" />
<button class="copy" id="copy">Copy</button>
</div>
<div class="p-body">
<div class="form-field">
<label for="p-length">Password Length</label>
<input type="number" id="p-length" value="12" min="8" max="30" />
</div>
<div class="form-field">
<label for="p-uppercase">Include Uppercase 🔠</label>
<input type="checkbox" checked id="p-uppercase" />
</div>
<div class="form-field">
<label for="p-lowercase">Include Lowercase 🔤</label>
<input type="checkbox" id="p-lowercase" />
</div>
<div class="form-field">
<label for="p-number">Include Number #️⃣</label>
<input type="checkbox" id="p-number" />
</div>
<div class="form-field">
<label for="p-symbol">Include Symbol 🔔 </label>
<input type="checkbox" id="p-symbol" />
</div>
<button id="submit">Generate Password 🪄</button>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>