-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (52 loc) · 2.12 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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
</head>
<body>
<h2>Password Generator</h2>
<label for="length">Password Length:</label>
<input type="number" id="length" min="6" max="20" value="12"><br><br>
<label for="minNumbers">Minimum Numbers:</label>
<input type="number" id="minNumbers" min="0" value="2"><br><br>
<label for="minSpecialChars">Minimum Special Characters:</label>
<input type="number" id="minSpecialChars" min="0" value="2"><br><br>
<label>
<input type="checkbox" id="includeLowercase" checked>
Include Lowercase Letters
</label><br>
<label>
<input type="checkbox" id="includeUppercase" checked>
Include Uppercase Letters
</label><br>
<label>
<input type="checkbox" id="includeNumbers" checked>
Include Numbers
</label><br>
<label>
<input type="checkbox" id="includeSpecialChars" checked>
Include Special Characters
</label><br><br>
<label>
<input type="checkbox" id="excludeAmbiguous" >
Exclude Ambiguous Characters (like I, O, 1, l, etc.)
</label><br><br>
<button id="generate-password-button">Generate Password</button>
<p>Generated Password: <span id="password"></span></p>
<br />
<br />
<p>The source code and other info for this project can be found
<a href="https://github.com/TrulyFlawed/Password-Generator" aria-labelledby="source-code-link-label">
<span id="source-code-link-label">here</span>
<!-- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" aria-hidden="true">
<path d="m13 3 3.293 3.293-7 7 1.414 1.414 7-7L21 11V3z"></path>
<path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"></path>
</svg> --> <!-- An SVG icon that I plan adding; the lack of styles makes it look weird though. -->
</a>
</p>
<p>Created by: TrulyFlawed/Duskfall</p>
<script src="index.js"></script>
</body>
</html>