-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (34 loc) · 1.78 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
<html>
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="index.css">
<!-- fonts -->
<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:wght@800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@800&display=swap')
</style>
<!-- inter font <-->
</head>
<body>
<div class="container">
<div class="main">
<h1 id="white-h1">Generate a</h1>
<h1 id="green-h1">random password</h1>
<p class="gray-p" id="description">Never use an insecure password again.</p>
<p class="gray-p">Password length:</p>
<input type="number" id="password-length" max="100"></input> <button type="submit" class="green-btn" onclick="setSettings()">✓</button> <br>
<p id="error-p"></p>
<button id="generate-btn" class="green-btn" onclick="generatePassword()">Generate passwords</button>
<div id="border"></div>
<div id="password-container">
<div id="password-one-box"><p id="password-one-el"></p></div>
<div id="password-two-box"><p id="password-two-el"></p></div>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>