-
Notifications
You must be signed in to change notification settings - Fork 1
/
Survey_form.html
82 lines (76 loc) · 3.39 KB
/
Survey_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header id="headings">
<h1 id="title">freeCodeCamp Survey Form</h1>
<p id="description">Thank you for taking the time to help us improve the platform</p>
</header>
<form action="" id="survey-form">
<div class="form_content">
<label for="name" id="name-label">Name</label>
<input type="text" id="name" placeholder="Enter your name" required>
</div>
<div class="form_content">
<label for="email" id="email-label">E-mail</label>
<input type="email" id="email" pattern="[^ @]*@[^ @]*" placeholder="Enter your e-mail" required>
</div>
<div class="form_content">
<label for="number" id="number-label">Age</label>
<input type="number" id="number" min="12" max="100" placeholder="Enter your age">
</div>
<div class="form_content">
<label for="dropdown">Which option current describes your role ?
<select name="select what describes you best" id="dropdown">
<option value="default">Select an option</option>
<option value="Student">Student</option>
<option vlaue="Teacher">Teacher</option>
</select>
</label>
</div>
<div class="form_content referal">Would you recommend freeCodeCamp to a friend ?
<label>
<input type="radio" value="Definitely" class="radio" name="recomendation">
Definitely
</label>
<label>
<input type="radio" value="Maybe" class="radio" name="recomendation">
Maybe</label>
<label>
<input type="radio" value="Not sure" class="radio" name="recomendation">
Not sure</label>
</div>
<div class="form_content">
<label for="dropdown-2" id="">What is your favorite feature of freeCodeCamp?
<select name="fav-feature" id="dropdown-2">
<option value="default">Select an option</option>
<option value="Community">Community</option>
<option vlaue="Open Source">Open Source</option>
</select>
</label>
</div>
<div class="form_content impro">
<label for="" id="improvisation">What would you like to see improved?
<label>
<input type="checkbox" value="Back-end projects" name="improvisation">
Back-end projects </label>
<label>
<input type="checkbox" value="Front-end projects" name="improvisation">
Front-end projects</label>
</label>
</div>
<div class="form_content">
<label for="comments" id="suggestion">Any comments or suggestions ?</label>
<textarea id="suggestion" name="suggestion" rows="10" cols="50">Write your comments here...</textarea>
</div>
<div class="form_content">
<input type="submit" id="submit" value="SUBMIT">
</div>
</form>
</body>
</html>