-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (80 loc) · 2.77 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<title>Password Genertor</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- wrapper -->
<div class="container">
<!-- passwordgenerator heading -->
<h1>Password Generator</h1>
<!-- input div where password display -->
<div class="display-container">
<!-- input -->
<input
readonly
type="text"
placeholder="Password"
class="Display"
data-passwordDisplay
/>
<!-- copy wala button -->
<!-- on click text show copied -->
<button class="copyBtn" data-copy>
<span class="copy-tooltip" data-copyMsg></span>
<!-- copywala img -->
<img src="assets/copy.svg" alt="copy" height="23" width="23" />
</button>
</div>
<!-- input wali field where you set password checkboxe -->
<div class="input-container">
<!-- Password Length heading and number which keep chnaging -->
<div class="length-container">
<p>Password Length</p>
<p data-lengthNumber>5</p>
</div>
<!-- ek slider bna na hai -->
<input
type="range"
min="1"
max="20"
step="1"
class="slider"
data-lengthSlider
/>
<!-- check boxes div -->
<div class="checkboxgroup">
<div class="check">
<input type="checkbox" id="uppercase" />
<label for="uppercase">Include Uppercase letters</label>
</div>
<div class="check">
<input type="checkbox" id="lowercase" />
<label for="uppercase">Include Lowercase letters</label>
</div>
<div class="check">
<input type="checkbox" id="numbers" />
<label for="uppercase">Include Numbers</label>
</div>
<div class="check">
<input type="checkbox" id="symbols" />
<label for="uppercase">Include Symbols</label>
</div>
</div>
<!-- strength wala -->
<div class="strengthcontainer">
<p>Strength</p>
<div class="indicator" dataindicator></div>
</div>
<!-- Generate password button -->
<button class="generateButton">Generate Password</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>