-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign-up.html
78 lines (75 loc) · 2.64 KB
/
sign-up.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign up</title>
<link rel="stylesheet" href="styles/sign-up.css">
<script src="styles/icons/icons-style.js"></script>
</head>
<body>
<div class="submit-error">
<p class="submit-error">Fill the form correctly!</p>
<button type="button" class="close">
<i class="fas fa-chevron-circle-down" title="hide error"></i>
</button>
</div>
<div class="submit-success">
<p class="submit-success">
Submit is done successfully<i class='fas fa-user-check'></i>
</p>
</div>
<div class="msg api email-fetch-err">
<p class="api email-fetch-err">
We're having some difficulties at the moment...<br>Please try again later!
</p>
</div>
<div class="msg duplicate-email-err">
<p class="duplicate-email-err">
This email is already registered
</p>
</div>
<div class="msg api data-post-err">
<p class="api data-post-err">
Sorry, your info registration is not possible at the moment<br>Please try again later!
</p>
</div>
<div class="form">
<form action="sign-in.html">
<div class="elem-container form-header">
<h1 class="header">Sign Up Form</h1>
</div>
<div class="elem-container first-name">
<label for="first-name">First Name:</label>
<input class="first-name" id="first-name" type="" minlength="3" maxlength="30" pattern="[a-zA-Z\s]+" required
autofocus>
</div>
<div class="elem-container last-name">
<label for="last-name">Last Name:</label>
<input class="last-name" id="last-name" type="text" minlength="3" pattern="[a-zA-Z\s]+" maxlength="50">
<span class="optional">Optional</span>
</div>
<div class="elem-container email">
<label for="email">Email:</label>
<input class="email" id="email" type="email" required>
</div>
<div class="elem-container password">
<label for="password">Password:</label>
<input class="password" id="password" type="password" pattern="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,16}$"
required>
<button type="button" class="check-pass">
<i class='far fa-eye'></i>
</button>
</div>
<div class="elem-container btn-container">
<button class="submit-btn" type="submit">Submit</button>
</div>
</form>
</div>
<div class="sign-in sign-up">
<span class="sign-in sign-up">Already have an account?</span>
<a href="sign-in.html" class="sign-in sign-up">Login</a>
</div>
<script src="scripts/sign-up.js"></script>
</body>
</html>