-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (62 loc) · 2.57 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
<!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="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;600&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1>Password Generator</h1>
<div class="display-container">
<input readonly placeholder="Password" class="display" data-password-display>
<button class="copyBtn" data-copy>
<span class="topSpan" data-copyMessage></span>
<img src="./assets/copy.svg" alt="copy" height="23" width="23">
</button>
</div>
<div class="input-container">
<!-- Password Length -->
<div class="length-container">
<p>Password Length</p>
<p password-lengthNum>0</p>
</div>
<!-- Slider -->
<input type="range" min="1" max="20" class="slider" step="1" data-lengthSilder>
<!-- Checkbox -->
<div class="check">
<input type="checkbox" id="upper-case">
<label for="upper-case">Includes Uppercase Letters</label>
</div>
<div class="check">
<input type="checkbox" id="lower-case">
<label for="lower-case">Includes Lowercase Letters</label>
</div>
<div class="check">
<input type="checkbox" id="numbers">
<label for="numbers">Includes Numbers</label>
</div>
<div class="check">
<input type="checkbox" id="symbol">
<label for="symbol">Includes Symbols</label>
</div>
<!-- Strength-container -->
<div class="strength-container">
<p>Strength</p>
<div class="indicator" strength-indicator></div>
</div>
<!-- Button for generating Passwords -->
<button class="generatePassword">Generate Passwords</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>