-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (43 loc) · 1.66 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
<!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>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons&display=block">
</head>
<body>
<main>
<div class="generator">
<h1>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 Upper Case Letters:</span>
<input type="checkbox" id="uppercase" checked>
</label>
<label>
<span>Include Lower Case 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="script.js"></script>
</body>
</html>