-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (52 loc) · 2.61 KB
/
index.html
File metadata and controls
58 lines (52 loc) · 2.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="password-generator-container">
<h1>Password Generator</h1>
<div class="password-display">
<span class="password-text">SQ0||tSg6@MF</span>
<button class="copy-btn">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75" />
</svg>
<span class="tooltip">Copied!</span>
</button>
</div>
<div class="strength-text">Strenth: Strong</div>
<div class="strength-meter">
<div id="strengthMeter" class="strength-meter-fill"></div>
</div>
<div class="password-options">
<div class="option-item">
<label for="lengthSlider">Password Length:</label>
<span id="lengthValue" class="length-value">12</span>
</div>
<input id="lengthSlider" type="range" min="4" max="32" value="12">
<div class="option-item">
<label for="uppercaseCheck">Inlcude Uppercase</label>
<input type="checkbox" checked id="uppercaseCheck">
</div>
<div class="option-item">
<label for="lowercaseCheck">Inlcude Lowercase</label>
<input type="checkbox" checked id="lowercaseCheck">
</div>
<div class="option-item">
<label for="numbersCheck">Inlcude Numbers</label>
<input type="checkbox" checked id="numbersCheck">
</div>
<div class="option-item">
<label for="symbolsCheck">Inlcude Symbols</label>
<input type="checkbox" checked id="symbolsCheck">
</div>
</div>
<button class="generate-btn">Generate Password</button>
</div>
<script src="script.js"></script>
</body>
</html>