-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (63 loc) · 2.89 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
<!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>
</head>
<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&dis">
<link rel="stylesheet" href="index.css">
<body>
<div class="container">
<!-- sari chije iske andr rhegi -->
<h1>PASSWORD GENERATOR</h1>
<div class="display-container">
<input readonly placeholder="PASSWORD" class="display" style="height: 23px ;">
<button class="data-copy">
<span data-copyMsg></span>
<img src="copy-icon.svg" alt="" style="height: 23px; width: 23px;">
</button>
</div>
<div class="password_setting">
<!-- display password -->
<div class="length-container">
<p>Password length</p>
<p id="lengthNumber">0</p>
</div>
<!-- slider -->
<div class="slidecontainer">
<input type="range" min="1" max="20" value="10" step="1" class="slider" id="myRange">
</div>
<!-- checkboxes -->
<div >
<div class="check">
<input type="checkbox" id="uppercase" class="checkboxContainer" checked>
<label for="uppercase">Includes uppercase letters</label>
</div>
<div class="check">
<input type="checkbox" id="lowercase" class="checkboxContainer">
<label for="lowercase">Includes lowercase letters</label>
</div>
<div class="check">
<input type="checkbox" id="numbers" class="checkboxContainer">
<label for="numbers">Includes numbers</label>
</div>
<div class="check">
<input type="checkbox" id="symbols" class="checkboxContainer">
<label for="symbols">Includes symbols</label>
</div>
</div>
<!-- strength -->
<div class="strength-container">
<p>Strength</p>
<div id="dataIndicator"></div>
</div>
<!-- generate password -->
<button class="generateButton" onclick="generatePass()">Generate Password</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>