-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (48 loc) · 1.45 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--include font awesome-->
<script src="https://kit.fontawesome.com/d7d83b0a4e.js" crossorigin="anonymous"></script>
<!--add css file-->
<link rel="stylesheet" href="style.css" />
<title>Random password generator</title>
</head>
<body>
<div id="main-section">
<label for="caption">Password Generator</label>
<div id="copy">
<input id="caption" type="text" value="" disabled />
<div id="copy-icon"><i class="fas fa-copy"></i></div>
<div id="copy-msg">Copied</div>
</div>
<input id="range" type="range" value="6" min="4" max="20" />
<ul>
<li>
<div class="key">Password length: </div>
<div class="value">5</div>
</li>
<li>
<div class="key">Include lowercase (a-z): </div>
<input class="box" type="checkbox" checked />
</li>
<li>
<div class="key">Include uppercase (A-Z): </div>
<input class="box" type="checkbox" checked />
</li>
<li>
<div class="key">Include number (0-9): </div>
<input class="box" type="checkbox" checked />
</li>
<li>
<div class="key">Include symble (@-?): </div>
<input class="box" type="checkbox" checked />
</li>
</ul>
<button>Generate Password</button>
</div>
<!--Add javascript file-->
<script src="custom.js"></script>
</body>
</html>