-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (47 loc) · 1.52 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">
<title>password generator</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="generator">
<h1>Password generator</h1>
<label for="" class="password-wrap">
<input type="text" id="password" readonly placeholder="Your password" />
<span class="material-symbols-outlined" id="copy">
content_copy
</span>
<div id="copy-status">copy</div>
</label>
<div id="password-strength"></div>
<label for="">
<span>Password Lenth:</span>
<input type="number" id="length" value="20" />
</label>
<label for="">
<span>Include Uppercase letters:</span>
<input type="checkbox" id="uppercase" checked />
</label>
<label for="">
<span>Include Lowercase letters:</span>
<input type="checkbox" id="lowercase" checked />
</label>
<label for="">
<span>Include Numbers:</span>
<input type="checkbox" id="numbers" checked />
</label>
<label for="">
<span>Include Symbols:</span>
<input type="checkbox" id="symbols" checked />
</label>
<button type="submit" id="generate">Generate Password</button>
</div>
<script src="main.js"></script>
</body>
</html>