-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration-form.html
160 lines (139 loc) · 6.91 KB
/
registration-form.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!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="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap" rel="stylesheet">
<title>Registration Form</title>
</head>
<body>
<div class="container">
<div class="header">
<h3>Registration Form</h3>
</div>
<form>
<fieldset>
<legend>Personal Information</legend>
<div class="content">
<label for="fname">First Name: </label>
<input type="text" id="fname" name="fname" autocomplete="off" required>
<br />
</div>
<div class="content">
<label for="mname">Middle Name: </label>
<input type="text" id="fname" name="mname" autocomplete="off">
<span class="tooltip">Middle name is optional</span>
<br />
</div>
<div class="content">
<label for="lname">Last Name: </label>
<input type="text" id="lname" name="lname" autocomplete="off" required>
<br />
</div>
<div class="content">
<label for="bdate">Birth date: </label>
<input type="date" id="bdate" name="bdate" required>
<br />
</div>
<div class="content">
<label for="age">Age: </label>
<input type="number" id="age" min="1" max="100" name="age" required>
<br />
</div>
<div class="content">
<label for="address">Address: </label>
<input type="text" id="address" name="address" autocomplete="off" required>
</div>
<div class="content">
<label for="gender" class="normal">Gender:</label>
<span class="gender">Male</span> <input type="radio" id="gender" name="gender" value="male" checked>
<span class="gender">Female</span> <input type="radio" id="gender" name="gender" value="female">
<br />
</div>
<div class="content">
<label for="civil-status">Civil Status: </label>
<select name="civil-status" id="civil-status" required>
<option></option>
<option value="single">Single</option>
<option value="married">Married</option>
<option value="widowed">Widowed</option>
</select>
</div>
</fieldset>
<fieldset>
<legend>Family Member</legend>
<div class="content">
<label for="father">Name of Father: </label>
<input type="text" id="father" name="father" autocomplete="off" required>
<br />
</div>
<div class="content">
<label for="mother">Name of Mother: </label>
<input type="text" id="mother" name="mother" autocomplete="off" required>
<br />
</div>
<div class="content">
<label for="siblings">Number of Siblings: </label>
<input type="number" min="0" max="100" required>
</div>
</fieldset>
<fieldset>
<legend>Education</legend>
<div class="content">
<label for="highschool">Highschool: </label>
<input type="text" id="highschool" name="highschool" autocomplete="off" required>
</div>
<div class="content">
<label for="year-grad">Year Graduated: </label>
<input type="number" name="number" id="number" min="1900" max="2024" required>
<br />
</div>
<div class="content">
<label for="college">College: </label>
<input type="text" name="college" id="college" autocomplete="off">
<span class="tooltip">College name is optional</span>
</div>
<div class="content">
<label for="course">Course: </label>
<input type="text" name="course" id="course" autocomplete="off">
<span class="tooltip">Course is optional. Fill this out if you attend college</span>
</div>
<div class="content">
<label for="year-grad">Year Graduated: </label>
<input type="number" name="number" id="number" min="1900" max="2024">
<span class="tooltip">Year graduated is optional. Fill this out if you attend college</span>
</div>
</fieldset>
<fieldset class="last">
<legend>Employment Details</legend>
<div class="content">
<label for="occupation">Occupation: </label>
<input type="text" id="occupation" name="occupation" autocomplete="off" required>
</div>
<div class="content">
<label for="company">Name of Company: </label>
<input type="text" id="company" name="company" autocomplete="off" required>
</div>
<div class="content">
<label for="year-worked">Year/s of Working: </label>
<select name="year-worked" id="year-worked" required>
<option></option>
<option value="0-1">0-1 year</option>
<option value="2-5">2-5 years</option>
<option value="6-10">6-10 years</option>
<option value="+10">more than 10 years</option>
</select>
</div>
</fieldset>
<div class="buttons">
<button class="submit" onclick="alert('The registration form has been successfully submitted!')" id="submit">Submit</button>
<input type="reset" name="reset" value="Reset Registration" class="reset">
</div>
</form>
</div>
</body>
</html>