-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (126 loc) · 4.25 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
122
123
124
125
126
127
<!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" />
<title>Password Generator - by Sanajit Jana</title>
<meta property="og:locale" content="en_US" />
<meta
name="description"
content="This is a password generator app using pure JavaScript, HTML, CSS, and Bootstrap."
/>
<link
rel="canonical"
href="https://sanajitjana.github.io/Password-Generator/"
/>
<meta
name="twitter:card"
content="This is a password generator app using pure JavaScript, HTML, CSS, and Bootstrap."
/>
<meta property="twitter:title" content="Password Generator" />
<meta
name="msapplication-TileImage"
content="https://sanajitjana.github.io/Password-Generator/assets/preview.png"
/>
<meta property="og:site_name" content="Password-Generator" />
<meta property="og:title" content="Password Generator" />
<meta
property="og:description"
content="This is a password generator app using pure JavaScript, HTML, CSS, and Bootstrap."
/>
<meta property="og:image" itemprop="image" content="assets/preview.png" />
<meta property="og:type" content="website" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta
property="og:url"
content="https://sanajitjana.github.io/Password-Generator/"
/>
<link rel="stylesheet" href="./assets/predefine.css" />
<link rel="stylesheet" href="./assets/style.css" />
</head>
<body>
<div class="container mx-auto px-4">
<header>
<h1 class="text-4xl font-bold">Password Generator</h1>
<img
draggable="false"
id="mode-toggler"
src="assets/mode.svg"
alt="Toggle"
/>
</header>
<section>
<div class="password-output mb-6">
<input
type="text"
class="text"
id="password"
spellcheck="false"
readonly
/>
<button type="button" class="btn-copy">
<img
draggable="false"
src="assets/copy.svg"
width="17"
height="20"
alt="Copy"
/>
</button>
<button type="button" id="btn-generate">
<img
draggable="false"
src="assets/refresh.png"
width="17"
height="20"
alt="Refresh"
/>
</button>
</div>
<div class="password-fields">
<h2 class="mb-3 text-xl">Customize your password</h2>
<div class="mb-3">Length(<span id="password-length">12</span>)</div>
<div class="password-input mb-3">
<input
type="number"
id="password-length-number"
min="1"
max="50"
value="12"
/>
<input
type="range"
id="password-length-slider"
min="1"
max="50"
value="12"
/>
</div>
<div class="checkboxes grid grid-rows-2 grid-flow-col gap-4 mb-6">
<span class="checkbox-container"
><input type="checkbox" name="uppercase" id="uppercase" checked />
<label for="uppercase">Uppercase</label></span
>
<span class="checkbox-container"
><input type="checkbox" name="lowercase" id="lowercase" checked />
<label for="lowercase">Lowercase</label></span
>
<span class="checkbox-container"
><input type="checkbox" name="numbers" id="numbers" checked />
<label for="numbers">Numbers</label></span
>
<span class="checkbox-container"
><input type="checkbox" name="symbols" id="symbols" checked />
<label for="symbols">Symbols</label></span
>
</div>
</div>
<button class="btn-copy">Copy Password</button>
</section>
</div>
<script src="./assets/script.js"></script>
</body>
</html>