-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (73 loc) · 3.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password generator</title>
<link rel="stylesheet" href="./scss/styles.css">
<script defer src="./script.js"></script>
</head>
<body>
<div class="container">
<main>
<h1>Settings</h1>
<ul class="settings">
<li>
<span>Include lowercase symbols:</span>
<label for="lowercase" class="custom-checkbox checked"></label>
<input type="checkbox" id="lowercase" checked>
</li>
<li>
<span>Include uppercase symbols:</span>
<label for="uppercase" class="custom-checkbox"></label>
<input type="checkbox" id="uppercase">
</li>
<li>
<span>Include numbers:</span>
<label for="numbers" class="custom-checkbox"></label>
<input type="checkbox" id="numbers">
</li>
<li>
<span>Include special symbols:</span>
<label for="special" class="custom-checkbox"></label>
<input type="checkbox" id="special">
</li>
<li>
<span>Password length:</span>
<div class="slider">
<input type="range" id="passwordsLength" min="1" max="30" value="8">
<span class="counter" id="passwordsLengthCounter">8</span>
</div>
</li>
<li>
<span>Number of passwords:</span>
<div class="slider">
<input type="range" id="numberOfPasswords" min="1" max="100" value="10">
<span class="counter" id="numberOfPasswordsCounter">10</span>
</div>
</li>
</ul>
<div class="advanced-settings">
<button class="advanced-settings-toggler">
<span>Advanced settings</span>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-caret-down" viewBox="0 0 16 16">
<path
d="M3.204 5h9.592L8 10.481 3.204 5zm-.753.659 4.796 5.48a1 1 0 0 0 1.506 0l4.796-5.48c.566-.647.106-1.659-.753-1.659H3.204a1 1 0 0 0-.753 1.659z" />
</svg>
</button>
<ul class="advanced-settings-list">
<li>
<span>Required symbols:</span>
<input type="text" id="requiredSymbols">
</li>
</ul>
</div>
<button class="generate">Generate!</button>
<h1>Result</h1>
<ul class="result"></ul>
</main>
</div>
</body>
</html>