-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
123 lines (110 loc) · 5.18 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
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
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<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" />
<!-- webpage title -->
<title>Registration Form</title>
<!-- linking SASS -->
<link rel="stylesheet" href="./src/styles/sass/style.css" />
<!-- linking favicon -->
<link rel="shortcut icon" href="./../../public/favicon.ico" type="image/x-icon" />
<!-- unicons CDN -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css" />
</head>
<body>
<section id="form-section">
<div class="form-container">
<!-- form header -->
<div class="form-header">
<!-- form title -->
<h2 class="form-title">Create Account</h2>
<!-- form server side validation error message -->
<div class="show-error">
<p class="error-message">Something went wrong. You can't Registration successfully. Try to again. Thanks</p>
</div>
</div>
<!-- form field -->
<form action="" method="post" id="input-form">
<!-- input group / full name -->
<div class="form-control">
<label for="fullName">*Full Name</label>
<input type="text" name="fullName" placeholder="Type here your full name" id="fullName" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / username -->
<div class="form-control">
<label for="username">*Define Username</label>
<input type="text" name="username" placeholder="Type here a unique username" id="username" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / email -->
<div class="form-control">
<label for="email">*Your Email</label>
<input type="email" name="email" placeholder="Type here your email address" id="email" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / phone number -->
<div class="form-control">
<label for="phoneNumber">*Phone Number</label>
<input type="text" name="phoneNumber" placeholder="Type here your phone number" id="phoneNumber" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / date of birth -->
<div class="form-control">
<label for="dataOfBirth">Date Of Birth</label>
<input type="date" name="dataOfBirth" id="dataOfBirth" />
</div>
<!-- input group / gender -->
<div class="form-control">
<label for="gender">Your Gender</label>
<select name="gender" id="gender">
<option disabled selected value>-- select an option --</option>
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
<!-- input group / user bio -->
<div class="form-control">
<label for="userBio">Write Yourself</label>
<textarea name="userBio" id="userBio" cols="30" rows="5" placeholder="Write here something about yourself"></textarea>
</div>
<!-- input group / password -->
<div class="form-control">
<label for="password">*Define Password</label>
<input type="password" name="password" placeholder="Type here a unique and strong password" id="password" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / check password -->
<div class="form-control">
<label for="checkPassword">*Retype Password</label>
<input type="password" name="checkPassword" placeholder="Retype here your define unique and strong password" id="checkPassword" />
<i class="uil uil-check-circle"></i>
<i class="uil uil-exclamation-circle"></i>
<small>This field is required. Please input this form.</small>
</div>
<!-- input group / TAC -->
<div class="form-control">
<input type="checkbox" name="agree-tac" id="agree-tac" />
<p class="message-tac">*I agree to the Terms and Conditions (TAC).</p>
</div>
<!-- submit button -->
<button type="submit" name="submit" id="submit" class="submit">Submit Now</button>
</form>
</div>
</section>
<!-- script / js -->
<script src="./src/js/registration-form-validation.js"></script>
</body>
</html>