-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
85 lines (74 loc) · 3.16 KB
/
form.html
File metadata and controls
85 lines (74 loc) · 3.16 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
85
<!DOCTYPE html>
<html>
<head>
<title>Form</title>
<link href="formDetails.css" type="text/css" rel="stylesheet">
</head>
<body>
<form name="infoForm" method="post">
<br>
<label for="username" class="labels">Username: </label>
<input type="text" name="username" id="name" placeholder="username">
<br>
<br>
<label for="email" class="labels">Email: </label>
<input type="text" name="email" id="email" placeholder="example@email.com">
<br>
<br>
<label for="phone" class="labels">Phone Number: </label>
<input type="text" name="phone" id="phone" placeholder="(###)-###-####">
<br>
<br>
<label for="password" class="labels">Password: </label>
<input type="password" name="password" id="pass" placeholder="password">
<br>
<br>
<label for="confirm_password" class="labels">Confirm Password: </label>
<input type="password" name="confirm_password" id="conf_pass" placeholder="password">
<br>
<br>
<label for="gender" class="labels">Gender: </label>
<input type="radio" name="gender" value="female">
<label for="female">Female</label>
<input type="radio" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" name="gender" value="other">
<label for="other">Other</label>
<br>
<br>
<label for="age" class="labels">Age Group: </label>
<select name="age">
<option value="" disabled=disabled selected></option>
<option value="-20"><21</option>
<option value="21-25">21-25</option>
<option value="26-35">26-35</option>
<option value="36-50">36-50</option>
<option value="50+">>50</option>
</select>
<br>
<br>
<label for="genre" class="labels">Favorite Music Genre: </label>
<input type="checkbox" name="genre" value="pop">
<label for="pop">Pop</label>
<input type="checkbox" name="genre" value="hiphop">
<label for="hiphop">HipHop</label>
<input type="checkbox" name="genre" value="jazz">
<label for="jazz">Jazz</label>
<input type="checkbox" name="genre" value="rock">
<label for="rock">Rock</label>
<input type="checkbox" name="genre" value="classical">
<label for="classical">Classical Music</label>
<input type="checkbox" name="genre" value="country">
<label for="country">Country</label>
<br>
<br>
<div id="buttons">
<input type="button" onclick="validateForm()" value="Submit">
<input type="reset" value="Clear" onclick="clearForm()">
</div>
</form>
<br>
<div id="output"></div>
<script src="validation.js"></script>
</body>
</html>