-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.36 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!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" />
<link rel="stylesheet" href="./style.css" />
<title>Password Generator</title>
</head>
<body>
<div class="container">
<div class="box">
<label class="switch">
<input type="checkbox" id="darkModeCheckBox" />
<span class="slider round"></span>
</label>
<div class="title">
<h1 class="tittleOne">Generate a</h1>
<h1 class="tittleTwo">random password</h1>
</div>
<p>Never use an insecure password again.</p>
<form
class="generationArea"
action="javascript:;"
onsubmit="generate()"
>
<div class="setLength">
<h6>Password Length</h6>
<input
type="number"
value="16"
id="passwordLength"
min="1"
max="16"
/>
</div>
<div class="charOption">
<div class="numOption">
<input
type="checkbox"
name="hasNumbers"
id="hasNumbers"
checked
/>
<label for="hasNumbers">Has Numbers</label>
</div>
<div class="symOption">
<input type="checkbox" name="hasSymbal" id="hasSymbal" checked />
<label for="hasSymbal">Has Symbal</label>
</div>
</div>
<input type="submit" id="generateButton" value="Generate passwords" />
</form>
<hr class="solid" />
<div class="result">
<div class="option optionOne"></div>
<div class="option optionTwo"></div>
</div>
</div>
</div>
<footer>
Scrimba
<a
href="https://scrimba.com/learn/learnjavascript/solo-project-password-generator-cR9B46Sg"
target="”_blank”"
>solo Project</a
>
/
<a
href="https://www.figma.com/file/NEj9JDycMjF3XKXq7swoc9/Random-Password-Generator-(New-version)"
target="”_blank”"
>Design</a
>
/ <a href="https://github.com/LiChenJoe" target="”_blank”">Creator</a>
</footer>
<script src="./app.js"></script>
</body>
</html>