-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (48 loc) · 1.96 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
<!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">
<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=Rajdhani&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Password Generator | Js</title>
</head>
<body>
<div class="container">
<h1>Password Generator</h1>
<div class="inputBox">
<input type="text" class="passBox" id="passBox" disabled>
<span class="material-icons" id="copyIcon">content_copy</span>
</div>
<input type="range" min="1" max="30" value="8" id="inputSlider">
<div class="row">
<p>Password length</p>
<span id="sliderValue"></span>
</div>
<div class="row">
<label for="lowerCase">Include LowerCase Letters (a-z)</label>
<input type="checkbox" name="lowerCase" id="lowerCase" checked>
</div>
<div class="row">
<label for="upperCase">Include upperCase Letters (A-Z)</label>
<input type="checkbox" name="upperCase" id="upperCase" checked>
</div>
<div class="row">
<label for="numbers">Include Numbers Letters (0-9)</label>
<input type="checkbox" name="numbers" id="numbers" checked>
</div>
<div class="row">
<label for="symbols">Include Symbols Letters (@-*)</label>
<input type="checkbox" name="symbols" id="symbols" checked>
</div>
<button type="button" class="genBtn" id="genBtn">
Generate Password
</button>
</div>
<script src="script.js"></script>
</body>
</html>