-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (56 loc) · 1.96 KB
/
index.html
File metadata and controls
56 lines (56 loc) · 1.96 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Random Password Generator</title>
</head>
<body>
<div class ="container">
<div class="titles">
<h1 class ="first-title">Generate a </h1>
<h1 class ="second-title">random password</h1>
<h4> Never use an insecure password again</h4>
</div>
<div class = "button-container">
<div class = "password-button">
<button onclick="generatePassword()">Generate passwords</button>
</div>
<div class = "dropdown">
<button class = "dropbutton">X</button>
<div class="content">
<a href="1" id="length1">1</a>
<a href="2" id="length2">2</a>
<a href="3" id="length3">3</a>
<a href="4" id="length4">4</a>
<a href="5" id="length5">5</a>
</div>
</div>
</div>
<div class="toggles">
<label class="switch">
<input type="checkbox" id="includeLetters" checked>
<span class="slider round"></span>
<label>Letters</label>
</label>
<label class="switch">
<input type="checkbox" id="includeNumbers" checked>
<span class="slider round"></span>
<label>Numbers</label>
</label>
<label class="switch">
<input type="checkbox" id="includeSymbols" checked>
<span class="slider round"></span>
<label>Symbols</label>
</label>
</div>
<hr class="divider">
<div class = "result-fields">
<button id="field1"></button>
<button id="field2"></button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>