-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
256 lines (227 loc) · 8.11 KB
/
index.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<!--
Re Created by: Rommel Guanizo
Original Author: Free Code Camp
Date: April 14, 2021
Purpose: freecodecamp responsive web design project - survey form
Revision: 1.0
Comment:
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Free Code Camp - Survey Form</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</head>
<body>
<div class="container">
<header class="header">
<h1 id="title" class="text-center">freeCodeCamp Survey Form</h1>
<p id="description" class="description text-center">
Thank you for taking time to help us improve the platform
</p>
</header>
<form id="survey-form">
<div class="form-group">
<label id="name-label" for="name">Name</label>
<input
type="text"
name="name"
id="name"
class="form-control"
placeholder="Enter your name"
required
/>
</div>
<div class="form-group">
<label id="email-label for="email>Email</label>
<input
type="email"
name="email"
id="email"
class="form-control"
placeholder="Enter your Email"
required
/>
</div>
<!-- The age dropdown starts at 18 with maximum number of 75-->
<div class="form-group">
<label id="number-label" for="number">Age<span class="clue">(optional)</span></label>
<input
type="number"
name="age"
id="number"
min="18"
max="75"
class="form-control"
placeholder="Age"
/>
</div>
<!-- this is a dropdown selection with disabled option at first of the selection named Select current role-->
<div class="form-group">
<p>Which option best describes your current role?</p>
<select id="dropdown" name="role" class="form-control" required>
<option disabled selected value>Select current role</option>
<option value="student">Student</option>
<option value="job">Full Time Job</option>
<option value="learner">Full Time Learner</option>
<option value="preferNo">Prefer not to say</option>
<option value="other">Other</option>
</select>
</div>
<!-- This portion is selection via radio button-->
<div class="form-group">
<p>Would you recommend freeCodeCamp to a friend!</p>
<label>
<input
name="user-recommend"
value="definetly"
type="radio"
class="input-radio"
checked
/>Definitely
</label>
<label>
<input
name="user-recommend"
value="maybe"
type="radio"
class="input-radio"
/>Maybe
</label>
<label>
<input
name="user-recommend"
value="not-sure"
type="radio"
class="input-radio"
/>Not Sure
</label>
</div>
<div class="form-group">
<p>What is your favorite feature of freeCodeCamp?</p>
<select id="most-like" name="most-like" class="form-control" required>
<option disabled selected value>Select option</option>
<option value="challenges">Challenges</option>
<option value="projects">Projects</option>
<option value="community">Community</option>
<option value="openSource">Open Source</option>
</select>
</div>
<div class="form-group">
<p>what would you like to see improved?
<span class="clue">(Check all that apply)</span>
</p>
<label>
<input
name="prefer"
value="front-end-projects"
type="checkbox"
class="input-checkbox"
/>Front-end Projects
</label>
<label>
<input
name="prefer"
value="back-end-projects"
type="checkbox"
class="input-checkbox"
/>Back-end Projects
</label>
<label>
<input
name="prefer"
value="data-visualization"
type="checkbox"
class="input-checkbox"
/>Data Visualization
</label>
<label>
<input
name="prefer"
value="challenges"
type="checkbox"
class="input-checkbox"
/>Challenges
</label>
<label>
<input
nmae="prefer"
value="open-source-community"
type="checkbox"
class="input-checkbox"
/>Open Source Community
</label>
<label>
<input
nmae="prefer"
value="gitter-help-rooms"
type="checkbox"
class="input-checkbox"
/>Gitter help rooms
</label>
<label>
<input
nmae="prefer"
value="videos"
type="checkbox"
class="input-checkbox"
/>Videos
</label>
<label>
<input
nmae="prefer"
value="city-meetups"
type="checkbox"
class="input-checkbox"
/>City Meetups
</label>
<label>
<input
nmae="prefer"
value="wiki"
type="checkbox"
class="input-checkbox"
/>Wiki
</label>
<label>
<input
nmae="prefer"
value="forum"
type="checkbox"
class="input-checkbox"
/>Forum
</label>
<label>
<input
nmae="prefer"
value="additional-courses"
type="checkbox"
class="input-checkbox"
/>Additional Courses
</label>
</div>
<div class="form-group">
<p>Any comments or suggestions?</p>
<textarea
id="comments"
class="input-textarea"
name="comment"
placeholder="Enter your comment here...">
</textarea>
</div>
<div class="form-group">
<button type="submit" id="submit" class="submit-button">
Submit
</button>
</div>
</form>
<footer>
Created by Rommel Guanizo for freeCodeCamp - Survey Form (April 14, 2021)
</footer>
</div>
</body>
</html>