-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (60 loc) · 2.99 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
<!--
______________________________________________________________________________________________
| |
| Copyright 2024 ag-sanjjeev |
| |
| The source code is licensed under MIT-style License. |
| The usage, permission and condition are applicable to this source code as per license. |
| That can be found in LICENSE file or at https://opensource.org/licenses/MIT. |
|______________________________________________________________________________________________|
-->
<!-- Design URL https://www.facebook.com/reel/1617909932103601 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- Custom Style -->
<link rel="stylesheet" type="text/css" href="./light-theme.css" media="all" id="theme">
<link rel="stylesheet" type="text/css" href="./main.css" media="all">
<title>Password Form</title>
</head>
<body>
<form action="#" method="post" onsubmit="return validate()">
<div class="form-header">
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#5f6368"><path d="M240-640h360v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85h-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640Zm0 480h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM240-160v-400 400Z"/></svg>
</div>
<label class="toggle-switch">
<input type="checkbox" class="toggle-switch-checkbox" id="toggle-theme">
<span class="toggle-switch-slider"></span>
</label>
</div>
<h2 class="form-title">Create a secure password</h2>
<div class="password-group">
<input type="password" name="passwordField" id="passwordField" placeholder="Enter your password">
<label for="passwordField">Password</label>
<button type="button" id="showPassword">Show</button>
</div>
<div class="password-info-container">
<span id="strength-title">Password strength</span>
<meter id="password-strength-meter" min="0" max="100" value="0"></meter>
<span id="strength-message"></span>
</div>
<div class="password-tips-container">
<h4 class="tips-title">Must contain at least</h4>
<ul>
<li id="length-validation">8 Characters</li>
<li id="case-validation">1 Upper case character</li>
<li id="specialChar-validation">1 Special character</li>
</ul>
</div>
<div class="button-group">
<button type="submit" id="submit-button">Continue</button>
<a href="#">Forgot password?</a>
</div>
</form>
<!-- Custom Script -->
<script type="text/javascript" src="./main.js"></script>
</body>
</html>