-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask1.html
More file actions
66 lines (61 loc) · 1.94 KB
/
Copy pathtask1.html
File metadata and controls
66 lines (61 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Professional Sign Up Form</title>
</head>
<body>
<div class="container">
<h2>Sign Up</h2>
<form id="signupForm" onsubmit="return validateSignupForm()">
<div>
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
<span id="usernameError" class="error"></span>
</div>
<div>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<span id="passwordError" class="error"></span>
</div>
<div>
<label for="birthdate">Birthdate:</label>
<input type="date" id="birthdate" name="birthdate" required>
<span id="birthdateError" class="error"></span>
</div>
<div>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<span id="emailError" class="error"></span>
</div>
<div>
<label for="gender">Gender:</label>
<select id="gender" name="gender" required>
<option value="">Select</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
<span id="genderError" class="error"></span>
</div>
<div>
<label for="phone">Phone Number:</label>
<input type="text" id="phone" name="phone" required>
<span id="phoneError" class="error"></span>
</div>
<div>
<label for="zip">Zip Code:</label>
<input type="text" id="zip" name="zip" required>
<span id="zipError" class="error"></span>
</div>
<div>
<label for="country">Country:</label>
<input type="text" id="country" name="country" required>
<span id="countryError" class="error"></span>
</div>
<button type="submit">Sign Up</button>
</form>
</div>
</body>
</html>