forked from Ceeejeey/password-strength-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
24 lines (23 loc) · 1007 Bytes
/
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
<!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="./style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Document</title>
</head>
<body>
<div class="container">
<div class="input-box">
<input type="password" name="" id="password" placeholder="Enter the password">
<button type="submit" id="togglePassword">
<i class="fa-solid fa-eye-slash" id="eyeClose"></i>
<i class="fa-solid fa-eye" id="eyeOpen"></i>
</button>
<p id="message"><span id="strength">Weak</span></p>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>