-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (43 loc) · 1.44 KB
/
Copy pathindex.html
File metadata and controls
43 lines (43 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<script src="script.js" defer></script>
<title>Password Generator</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<form class="wrapper">
<header>
<h1>Password Generator</h1>
</header>
<div class="card">
<div class="card-header">
<h2>Generate a Password</h2>
<label for="length">Length</label>
<input type="number" id="length" value="10" min="8" max="128"/>
<label for="uppercase">Include Uppercase</label>
<input type="checkbox" id="uppercase" checked />
<label for="numbers">Include Numbers</label>
<input type="checkbox" id="numbers" checked />
<label for="symbols">Include Symbols</label>
<input type="checkbox" id="symbols" checked />
</div>
<div class="card-body">
<textarea
readonly
id="password-result"
placeholder="Your Secure Password"
aria-label="Generated Password"
></textarea>
</div>
<div class="card-footer">
<button id="generate" class="btn">Generate Password</button>
<button id="copy">Copy</button>
</div>
</div>
</form>
</body>
</html>