-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (57 loc) · 2.44 KB
/
index.html
File metadata and controls
66 lines (57 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="public/assets/image/icons/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="public/assets/image/icons/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="public/assets/image/icons/favicon_io/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<script src="https://kit.fontawesome.com/291451fd76.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="public/assets/style/style.css?v=2">
<title>Password Generator</title>
</head>
<body>
<main>
<h1><i class="fas fa-key"></i> Password Generator</h1>
<div class="password-display">
<p id="password" aria-label="Generated Password" aria-live="polite" role="status"></p>
<button type="button" id="copy" style="display:none;"
aria-label="Copy password to clipboard">
<i class="fas fa-copy"></i> Copy
</button>
</div>
<p id="counter" aria-live="polite"></p>
<div class="slider-group">
<label for="customRange1">
Characters: <span id="sliderCounter"></span>
</label>
<input type="range" id="customRange1" min="8" max="30" value="8"
aria-label="Password character length" aria-valuemin="8" aria-valuemax="30" aria-valuenow="8">
</div>
<div class="toggles">
<label class="toggle">
<input type="checkbox" id="customSwitch1">
<span>ABC</span>
</label>
<label class="toggle">
<input type="checkbox" id="customSwitch2">
<span>abc</span>
</label>
<label class="toggle">
<input type="checkbox" id="customSwitch3">
<span>123</span>
</label>
<label class="toggle">
<input type="checkbox" id="customSwitch4">
<span>!@#$%</span>
</label>
</div>
<div class="actions">
<button type="button" id="generate">Generate</button>
<button type="button" id="reset">Reset</button>
</div>
</main>
<script type="module" src="public/assets/JS/script.js"></script>
</body>
</html>