-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (110 loc) · 5.37 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<!-- Add the appropriate language for your site -->
<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">
<script src="https://kit.fontawesome.com/e99c120c11.js" crossorigin="anonymous"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inria+Sans:wght@400;700&family=Itim&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<title>Password Generator</title>
<!--
Set your name and a brief description.
Used by search engines.
-->
<meta name="author" content="Detective Pikachu">
<meta name="description" content="Password Generator project, built while taking Javascript for Beginners from Scrimba">
<!--
`og` stands for Open Graph, which is a protocol for how your
website appears when linked to from another site. These tags
are critical to ensuring your site gains an appropriate card
when sharing on social media.
-->
<meta property="og:title" content="Password Generator">
<meta property="og:description" content="Password Generator project, built while taking Javascript for Beginners from Scrimba">
<meta property="og:image" content="/some-image.png">
<meta property="og:site_name" content="Detective Pikachu's Small JS Projects">
</head>
<body onload="main()">
<nav>
<ul>
<li>
<a href="https://www.linkedin.com/in/pikachu-%E2%9A%A1/">
<i class=" fa fa-brands fa-linkedin-in"></i>
</a>
</li>
<li>
<a href="https://github.com/FrenzyExists">
<i class="fa fa-brands fa-github"></i>
</a>
</li>
<li>
<a href="https://twitter.com/Not__Pikachu">
<i class="fa fa-brands fa-twitter"></i>
</a>
</li>
</ul>
</nav>
<span class="notification">
Copied to Clipboard!
</span>
<div class="outer-container">
<div class="container">
<div class="inner-container">
<div class="inner-top-container">
<h1>Generate</h1>
<h2><span class="h2-l">secure reliable </span><span class="h2-r">passwords</span></h2>
<div style="display: flex;flex-wrap: wrap;flex-direction: column;">
<div class=options>
<div>
<p class="description">Include uppercase</p>
<label class="switch"><input class="checkmark" id="uppercase" type="checkbox" checked><span class="slider round"></span></label>
</div>
<div>
<p class="description">Include lowercase</p>
<label class="switch"><input class="checkmark" id="lowercase" type="checkbox" checked><span class="slider round"></span></label>
</div>
<div>
<p class="description">Include numbers</p>
<label class="switch"><input class="checkmark" id="numbers" type="checkbox" checked><span class="slider round"></span></label>
</div>
<div>
<p class="description">Include symbols</p>
<label class="switch"><input class="checkmark" id="symbols" type="checkbox" checked><span class="slider round"></span></label>
</div>
<div style="justify-content: center !important;">
<h4>Password length</h4>
</div>
<div style="flex-direction: column; padding: 0;">
<div class="range-slider">
<input id="password-length" type="range" min="0" max="64" step="2" value="32">
</div>
<div id="h4-container">
<h4 id="current">32</h4>
</div>
</div>
</div>
<br style="margin: 1.25rem;" />
<button id=" gen" class="pushable" type="button" onclick="gen()">
<span class="shadow"></span>
<span class="front">
<i class="fas fa-solid fa-bolt"></i> Generate
</span>
</button>
</div>
<br>
</div>
<div id="inner-bottom-container">
<!-- Inputs are generated in JS. Default is 4 -->
</div>
</div>
</div>
</div>
<footer>⛯ Made with grandma's black coffee 🟒</footer>
<script type="text/javascript" src="./script.js"></script>
</body>
</html>