-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (27 loc) · 1.28 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
<html>
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<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=Karla:ital,wght@0,400;0,800;1,200&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,800;1,200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
</head>
<body>
<main>
<h1>Generate a</h1>
<h2>random password</h2>
<h3>Never use an insecure password again</h3>
<button id="pass-gen-btn" onclick="genPassword()">Generate</button>
<hr>
<div class="passwords-disp-container">
<p id="password-one"
class="pass-disp"
onclick="copyPassword('#password-one')"></p>
<p id="password-two"
class="pass-disp"
onclick="copyPassword('#password-two')"></p>
</div>
</main>
<script src="index.js"></script>
</body>
</html>