-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (84 loc) · 3.68 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<title>Criptoglot Super-Password Generator</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="A password generator that lets you choose your character set, password length, and the number of passwords you'd like">
<meta name="author" content="Chanakya Esteban">
<link rel="icon" type="image/jpg" href="images/Criptoglot_favicon.jpg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla:wght@800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<img src="images/Criptoglot_logo.png" alt="Criptoglot Logo and Brand Name" id="logo">
<div class="container">
<h2>Password Length (12-84):</h2>
<label>
<input type="number" title="Password Length" min="12" max="84" value="16" id="password-length"
class="password-len">
</label>
<h2>Character Types:</h2>
<!--Divided into divs to organize the char types into a grid if more types introduced in the future-->
<div class="character-types-container">
<div class="character-types-container-col1">
<label>
<input type="checkbox" id="lower-case" class="hide-on-select" checked> Lowercase Letters
</label>
<br>
<label>
<input type="checkbox" id="upper-case" class="hide-on-select" checked> Uppercase Letters
</label>
<br>
<label>
<input type="checkbox" id="numbers" class="hide-on-select" checked> Numbers
</label>
<br>
<label>
<input type="checkbox" id="common-special" class="hide-on-select" checked> Common Symbols (!@#$%^&*())
</label>
<br>
</div>
<div class="character-types-container-col2">
<label>
<input type="checkbox" id="other-special" class="user-alert hide-on-select"> Other Symbols
(`~-_=+[{]}\|;:'",<.>/?)
<span class="might-not-work-alert"> WARNING! May not work on some websites.</span>
</label>
<br>
<label>
<input type="checkbox" id="greek" class="user-alert hide-on-select"> 🇬🇷 Greek Letters
<span class="might-not-work-alert"> WARNING! May not work on some websites.</span>
</label>
<br>
<label>
<input type="checkbox" id="hindi" class="user-alert hide-on-select"> 🇮🇳 Hindi Letters
<span class="might-not-work-alert"> WARNING! May not work on some websites.</span>
</label>
<br>
<label>
<input type="checkbox" id="japanese" class="user-alert hide-on-select"> 🇯🇵 Japanese Hiragana
<span class="might-not-work-alert"> WARNING! May not work on some websites.</span>
</label>
</div>
</div>
<h2>Number of Passwords (1-20): <span id="num-passwords-value"></span></h2>
<label>
<input type="range" title="Number of Passwords" min="1" max="20" value="10" id="num-passwords-slider"
class="num-passwords-slider">
</label>
<span class="no-char-selected-alert">Please select at least one character type before generating passwords!</span>
<button id="generate-password" title="Generate Passwords">Generate Password(s)</button>
<output id="password-output"></output>
</div>
</main>
<footer class="footer">
© 2023-24. All rights reserved.
</footer>
<script src="script.js"></script>
</body>
</html>