-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (42 loc) · 1.65 KB
/
Copy pathindex.html
File metadata and controls
54 lines (42 loc) · 1.65 KB
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="styles.css">
</head>
<body>
<h1 class="header">Generate Password</h1>
<div class="char-lists">
<h3>Include Characters</h3>
<ul>
<li>
<input type="checkbox" name="list-number" id="list-number" checked="checked">
<label for="list-number"> Number [0-9]</label><br>
</li>
<li>
<input type="checkbox" name="list-lower" id="list-lower" checked="checked">
<label for="list-lower"> Lower Case [a-z]</label><br>
</li>
<li>
<input type="checkbox" name="list-upper" id="list-upper" checked="checked">
<label for="list-upper"> Upper Case [A-Z]</label><br>
</li>
<li>
<input type="checkbox" name="list-special" id="list-special" checked="checked">
<label for="list-special"> Special [!@&$*]</label><br>
</li>
</ul>
</div>
<div class="pass-length">
<h3>Choose Length</h3>
<div><input type="range" min="1" max="20" value="16" class="slider-color" id="slider"></div>
<div><span id="sliderOutput">0</span></div>
</div>
<button class="generate-button" onclick="generatePassword()">Generate</button>
<button id="password" onclick="copyToClipboard(this)"></button>
<div id="copied-password"></div>
<script src="password.js" charset="utf-8"></script>
</body>
</html>