-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (60 loc) · 2.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="assets/main.css">
<title>Password Generator</title>
</head>
<body>
<main>
<div class="container">
<span class="alert">Copied to clipboard!</span>
<div class="top-bar">
<span class="password">Password Generator</span>
<span class="copy-btn"><i class="fa-solid fa-copy"></i></span>
</div>
<div class="form-container">
<form class="password-form">
<div class="slider-container">
<div class="label-container">
<label>Character Length</label>
<span>10</span>
</div>
<input type="range" min="1" max="20" value="10" class="slider-range" id="charLength">
</div>
<div class="switch-container">
<span>Numbers</span>
<label class="toggle-switch">
<input type="checkbox" name="numbers-switch">
<span class="toggle-slider round"></span>
</label>
</div>
<div class="switch-container">
<span>Symbols</span>
<label class="toggle-switch">
<input type="checkbox" name="symbols-switch">
<span class="toggle-slider round"></span>
</label>
</div>
<div class="strength-meter">
<span>Strength</span>
<div class="bars">
<div class="bar" id="bar1"></div>
<div class="bar" id="bar2"></div>
<div class="bar" id="bar3"></div>
<div class="bar" id="bar4"></div>
</div>
</div>
<button type="submit" class="submit-btn">
Generate
<span class="submit-icon"><i class="fa-sharp fa-solid fa-arrow-right"></i></span>
</button>
</form>
</div>
</div>
</main>
<script src="assets/main.js"></script>
</body>
</html>