-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (50 loc) · 1.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Password Generator</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;500&display=swap" rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Random Password Generator</h1>
<div class="container">
<div class="header">
<div class="pword">
<span id="pword">Your password will appear here.</span>
<button id="copy">Copy</button>
</div>
</div>
<div class="pword__body">
<div class="form-control">
<label class="label" for="len">Password Length</label>
<input id="len" value="15" type="number" min="2" max="25" />
</div>
<div class="form-control">
<label class="label" for="upper">Contain Uppercase Letters</label>
<input id="upper" type="checkbox" />
</div>
<div class="form-control">
<label class="label" for="lower">Contain Lowercase Letters</label>
<input id="lower" type="checkbox" />
</div>
<div class="form-control">
<label class="label" for="number">Contain Numbers</label>
<input id="number" type="checkbox" />
</div>
<div class="form-control">
<label class="label" for="symbol">Contain Symbols</label>
<input id="symbol" type="checkbox" />
</div>
<button class="generate" id="generate">
Generate my Password
</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>