-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSignUp.html
More file actions
84 lines (70 loc) · 3.18 KB
/
SignUp.html
File metadata and controls
84 lines (70 loc) · 3.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign-Up Page</title>
<!-- <link rel="stylesheet" href="SignUp_1.css"> -->
<link rel="stylesheet" href="SignUp_2.css">
</head>
<body>
<header>
<div class="header-text">Welcome To IIEST Blogging Page</div>
</header>
<div class="form-container">
<h2>Sign-Up</h2>
<form name="SignupForm" onsubmit="return validateSignupForm()" action="page2.html" method="GET">
<div class="username">
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="Enter your username" required>
<span class="formerror"></span>
</div>
<div class="email">
<label for="email">Email:</label>
<input type="text" id="email" name="email" placeholder="Enter your email" required>
<span class="formerror"></span>
</div>
<div class="password">
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
<span class="formerror"></span>
</div>
<div class="confirm-password">
<label for="confirm-password">Confirm Password:</label>
<input type="password" id="confirm-password" name="confirm-password" placeholder="Confirm your password" required>
<span class="formerror"></span>
</div>
<div class="profession">
<label for="profession">Profession:</label>
<select id="profession" name="profession" required>
<option hidden>Choose profession</option>
<option>Student</option>
<option>Engineer</option>
<option>Doctor</option>
<option>Teacher</option>
</select>
<span class="formerror"></span>
</div>
<div class="birthdate">
<label for="birthdate">Birth Date:</label>
<input type="date" id="birthdate" name="birthdate" required>
<span class="formerror"></span>
</div>
<div class="gender">
<label>Gender:</label>
<div class="gender-options">
<input type="radio" id="male" name="gender" value="male" required>
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female" required>
<label for="female">Female</label>
<input type="radio" id="others" name="gender" value="others" required>
<label for="others">Others</label>
</div>
<span class="formerror"></span>
</div>
<button type="submit">Sign Up</button>
</form>
</div>
<script src="SignUp.js"></script>
</body>
</html>