-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (73 loc) · 3.1 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">
<meta name="description" content="A simple password generator">
<meta name="author" content="Anthony M.">
<meta name="keywords" content="password, generator, random, secure">
<meta name="robots" content="index, follow">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://hcaptcha.com/1/api.js" async defer></script>
<title>Password Generator</title>
</head>
<body>
<div id="password">
<h1>Password Generator</h1>
<h2>by Anthony M.</h2>
<div id="password-container" class="hidden">
<label for="password">Password:</label>
<input type="password" id="password-input" value="Your password will appear here"
onmouseover="mouseoverPass();" onmouseout="mouseoutPass();" readonly>
<div class="button">
<a id="generate">Generate</a>
<a id="copy">Copy</a>
<a id="download">Download</a>
</div>
</div>
<form class="password-container">
<label for="password-length">Password Length</label>
<input type="number" id="password-length" name="password-length" min="8" value="8" required>
<div class="checkbox-container">
<label for="uppercase">Uppercase</label>
<input type="checkbox" id="uppercase" name="uppercase">
</div>
<div class="checkbox-container">
<label for="lowercase">Lowercase</label>
<input type="checkbox" id="lowercase" name="lowercase">
</div>
<div class="checkbox-container">
<label for="numbers">Numbers</label>
<input type="checkbox" id="numbers" name="numbers">
</div>
<div class="checkbox-container">
<label for="symbols">Symbols</label>
<input type="checkbox" id="symbols" name="symbols">
</div>
<div id="error-message"></div>
<div id="captcha" class="h-captcha" data-sitekey="55c75673-8d89-40ab-af6e-e36e14aa4e31" data-theme="dark"
data-callback="onSuccess" data-expired-callback="onExpire"></div>
</div>
<input type="submit" id="generator" value="Generate Password"></input>
<div id="lock-modal" class="hidden">
<div id="loading-circle"></div>
</div>
</form>
</div>
</div>
<script type="text/javascript" src="script.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-W44SQNYWK3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-W44SQNYWK3');
</script>
</body>
</html>