-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (46 loc) · 1.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PassGen</title>
<link rel="icon" href="https://icons-for-free.com/download-icon-key-131994967913129515_512.png" type="image/x-icon"/>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
</head>
<body>
<div class="main-container">
<h1>Password Generator</h1>
<form>
<div class="result-line">
<span class="span" id="result"></span>
<button id="clipboard"><i class="far fa-clipboard"></i></button>
</div>
<div class="settings">
<div class="input">
<label>Password length</label>
<input type="number" id="length" min='4' max='20' value='16' />
</div>
<div class="input">
<label for="lowercase">Include uppercase letters</label>
<input type="checkbox" id="uppercase" checked />
</div>
<div class="input">
<label for="uppercase">Include lowercase letters</label>
<input type="checkbox" id="lowercase" checked />
</div>
<div class="input">
<label for="numbers">Include numbers</label>
<input type="checkbox" id="numbers" checked />
</div>
<div class="input">
<label for="symbols">Include symbols</label>
<input type="checkbox" id="symbols" checked />
</div>
<button type='button' id="generate">Generate password</button>
</div>
</form>
</div>
<script src="script.js"></script>
</body>
</html>