-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (52 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random Password Generator</title>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<link rel="shortcut icon" href="images/password.ico" type="image/password.ico">
</head>
<body>
<main>
<div class="generator">
<h1>🔐 Random Password Generator</h1>
<label class="password-wrap">
<input
type="text"
id="password"
readonly
placeholder="Generate a password"
/>
<button class="material-icons" id="copy">content_copy</button>
</label>
<label>
<span>Password Length:</span>
<input type="number" id="length" value="16">
</label>
<label>
<span>Include Uppercase Letters:</span>
<input type="checkbox" id="uppercase" checked>
</label>
<label>
<span>Include Lowercase Letters:</span>
<input type="checkbox" id="lowercase" checked>
</label>
<label>
<span>Include Numbers:</span>
<input type="checkbox" id="numbers" checked>
</label>
<label>
<span>Include Symbols:</span>
<input type="checkbox" id="symbols" checked>
</label>
<button type="submit" id="generate">Generate Password</button>
</div>
</main>
<script src="main.js"></script>
</body>
</html>