-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (103 loc) · 3.1 KB
/
index.html
File metadata and controls
106 lines (103 loc) · 3.1 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
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
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Password Generator</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<p class="heading">Password Generator</p>
<div class="passwordBg">
<p id="passwordText">Password</p>
<img src="./assets/copy.png" alt="copy" class="copy" id="copyImage" />
</div>
<div class="char-container">
<div>
<div class="character-length">
<p>Character Length</p>
<p id="characterNumber">0</p>
</div>
<input
id="passwordLength"
type="range"
min="0"
max="12"
value="0"
class="range"
/>
</div>
<div class="checkboxes">
<div class="options">
<input
type="checkbox"
value="includeUppercase"
id="includeUppercase"
class="checkbox"
/>
<label name="includeUppercase">Include Uppercase Letters</label
><br />
</div>
<div class="options">
<input
type="checkbox"
value="includeLowercase"
id="includeLowercase"
class="checkbox"
/>
<label name="includeLowercase">Include Lowercase Letters</label
><br />
</div>
<div class="options">
<input
type="checkbox"
value="includeNumbers"
id="includeNumbers"
class="checkbox"
/>
<label name="includeNumbers">Include Numbers</label>
</div>
<div class="options">
<input
type="checkbox"
value="includeSymbols"
id="includeSymbols"
class="checkbox"
/>
<label name="includeSymbols">Include Symbols</label>
</div>
<p id="errorMessageChars"></p>
<p id="errorMessageCheckbox"></p>
</div>
<div class="strengthBox">
<p>Strength</p>
<div class="psBox">
<p id="passwordStrength"></p>
<div id="passwordStrengthBox1"></div>
<div id="passwordStrengthBox2"></div>
<div id="passwordStrengthBox3"></div>
<div id="passwordStrengthBox4"></div>
</div>
</div>
<button
type="button"
id="generatePasswordButton"
onclick="generatePassword()"
>
Generate
<img
src="./assets/right.png"
alt="arrow"
class="arrow"
width="20"
height="20"
/>
</button>
</div>
</div>
<script src="script.js" async defer></script>
</body>
</html>