-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (55 loc) · 2.08 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
<!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>Document</title>
<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-passwordDisplay>
<button data-copy >
<span data-copyMsg></span>
<img src="./assets/copy.svg" width="23" height="23">
</button>
</div>
<div class="input-container">
<div class="length-container">
<p>Password Length</p>
<p data-lengthNumber>0</p>
</div>
<input type="range" min="1" max="20" class="slider" step="1" data-lengthSlider
style="background-size: 47.3684% 100%;">
<!--checkbox-->
<div>
<input type="checkbox" id="uppercase">
<label for="uppercase">Include UpperCase Letters</label>
</div>
<div>
<input type="checkbox" id="lowercase">
<label for="lowerCase">Include LowerCase Letters</label>
</div>
<div>
<input type="checkbox" id="numbers">
<label for="numbers">Include Numbers </label>
</div>
<div>
<input type="checkbox" id="symbol">
<label for="symbol">Include Symbols</label>
</div>
<!--strength-->
<div class="strength-container">
<p>Strength</p>
<div data-indicator style="background-color: rgb(204, 204, 204); box-shadow: rgb(204, 204, 204) 0px 0px 12px 1px;"></div>
</div>
<!--generate password-->
<button class="generateButton">Generate Password</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>