-
Notifications
You must be signed in to change notification settings - Fork 0
/
surveryform.html
50 lines (39 loc) · 1.17 KB
/
surveryform.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
<h1 id="title">FreeCodeCamp Survey Form
</h1>
<link href="./surveryformstyle.css" rel="stylesheet">
<p id="description">Thank you for taking the time to help us improve the platform </p>
<form id="survey-form">
<input id="name" type="text"
placeholder="name" required>Name</input>
<br>
<input id="email" type="email"
placeholder="email" required>Email
<br>
<input id="number" placeholder="age" type="number" min="0" max="100" required>
<br>
<br>
<label id="name-label">Gender</label>
<label id="email-label"> </label>
<label id="number-label"> </label>
<select id="dropdown">
<option>Male </option>
<option>Female </option>
</select>
<br>
<input type="radio" value="value" name= "name"> I have allergy
<input type="radio" value="value" name= "name"> I don't have allergy
<br>
<br>
<label class="label">Occupation
<br>
<input type="checkbox" value="value">Self-employed
<br>
<input type="checkbox" value="value">Student
<br><input type="checkbox" value="value">Intern
<br><input type="checkbox" value="value">CEO
<br><input type="checkbox" value="value">other
<br>
<br>
<textarea placeholder="if you choose other, please explain"></textarea>
<button id="submit">submit
</form>