-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (107 loc) · 3.69 KB
/
Copy pathindex.html
File metadata and controls
112 lines (107 loc) · 3.69 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<!-- Coding by CodingLab | www.codinglabweb.com-->
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Email and Password Validation</title>
<!-- CSS -->
<link rel="stylesheet" href="css/style.css" />
<!-- Boxicons CSS -->
<link
href="https://unpkg.com/boxicons@2.1.2/css/boxicons.min.css"
rel="stylesheet"
/>
</head>
<body>
<div class="signup-container">
<header>Sign Up</header>
<form action="https://localhost:8080" class="sign-up" method="post">
<div class="field email-field">
<div class="input-field">
<input type="text" placeholder="Enter your email" class="email" />
</div>
<span class="error email-error">
<i class="bx bx-error-circle error-icon"></i>
<p class="error-text">Please enter a valid email</p>
</span>
</div>
<div class="field create-password">
<div class="input-field">
<input
type="password"
placeholder="Create password"
class="password"
/>
<i class="bx bx-hide show-hide"></i>
</div>
<span class="error password-error">
<i class="bx bx-error-circle error-icon"></i>
<p class="error-text">
Please enter at least 8 charatcers with number, symbol, small and
capital letter.
</p>
</span>
</div>
<div class="field confirm-password">
<div class="input-field">
<input
type="password"
placeholder="Confirm password"
class="cPassword"
/>
<i class="bx bx-hide show-hide"></i>
</div>
<span class="error cPassword-error">
<i class="bx bx-error-circle error-icon"></i>
<p class="error-text">Password don't match</p>
</span>
</div>
<div class="input-field button">
<input type="submit" value="Sign Up" />
</div>
<div id="second-choice">
<p>Already have an account?</p>
<a href="#" id="log-in-a">Log in</a>
</div>
</form>
</div>
<div class="login-container">
<header>Login</header>
<form class="log-in">
<div class="field email-field">
<div class="input-field">
<input type="text" name="email" placeholder="Enter your email" class="email" />
</div>
<span class="error email-error">
<i class="bx bx-error-circle error-icon"></i>
<p class="error-text">Please enter a valid email</p>
</span>
</div>
<div class="field create-password">
<div class="input-field">
<input type="password" name="password" placeholder="Insert password" class="insert-password">
<i class="bx bx-hide show-hide"></i>
</div>
<span class="error password-error">
<i class="bx bx-error-circle error-icon"></i>
<p class="error-text">
Please enter at least 8 charatcers with number, symbol, small and
capital letter.
</p>
</span>
</div>
<div class="input-field button">
<input type="submit" value="Sign In" />
</div>
<div id="second-choice">
<p>New to Task List?</p>
<a href="#" id="sign-up-a">Sign up</a>
</div>
</form>
</div>
<!-- JavaScript -->
<script src="js/loginscript.js"></script>
</body>
</html>