-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
33 lines (33 loc) · 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<title>HowStrongIsIt</title>
</head>
<body>
<h1>how strong is your password?</h1>
<input type="text" class="input" id="passwordInput" placeholder="enter your password" autocomplete="off">
<div id="passwordStrength"></div>
<button onclick="redirectToRecommended()">general password practises!</button>
<i id="darkModeToggle" class="fa-solid fa-moon fa-lg"></i>
<div class="tooltip">
<button class="tooltip-btn">!</button>
<span class="tooltiptext">
<strong>a good password has:</strong><br>
- a mix of uppercase and lowercase letters<br>
- includes numbers and special characters<br>
- avoids easily guessable information<br><br>
- for example: <strong>mW10t?-$OiwSFm!</strong><br><br>
<strong>a bad password has:</strong><br>
- common words or phrases<br>
- personal information like names, birthdays, etc.<br>
- only letters or numbers in sequence<br><br>
- for example: <strong>123ABC</strong>, or <strong>JohnDoe10thMay</strong><br>
</span>
<script src="script.js"></script>
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="intter" data-description="Support me on Buy me a coffee!" data-message="" data-color="#5F7FFF" data-position="Right" data-x_margin="18" data-y_margin="18"></script>
</body>
</html>