-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
437 lines (349 loc) · 19.5 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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Suvey Form</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div class="container">
<div class="row col-s-9 col-9">
<!--User story 1-->
<h1 id="title">Internet Usage Survey</h1>
<!--User story 2-->
<p id="description">This a survey form to evaluate internet usage survey</p>
</div>
<!--User story 3-->
<form id="survey-form">
<div class="row col-s-9 col-9">
<div class="alpha">
<!--User stories 4, 10, 11-->
<label id="name-label"><span>Name :</span> <input type="text" id="name" required
placeholder="Enter yout name please"> </label><br>
</div>
<div class="alpha">
<!--User stories 5 , 6, 10, 11 -->
<label id="email-label"><span>Email : </span><input type="email" id="email"
pattern="[a-zA-Z]{3,}@[a-zA-Z]{3,}[.]{1}[a-zA-Z]{2,}[.]{1}[a-zA-Z]{2,}" required
placeholder="Enter you Email"> </label>
</div>
<div class="alpha">
<!--User stories 7, 8, 9-->
<label id="number-label"><span>Age :</span> <input type="number" id="number" min="15" max="100"
placeholder="Your age"> </label>
</div>
</div>
<div class="row col-s-9 col-9">
<!--User story 12-->
<label>
Please select your continent:
<select id="dropdown" name="dropdown">
<option value="americas">Americas</option>
<option value="africa">Africa</option>
<option value="asia">Asia</option>
<option value="europe">Europe</option>
<option value="oceania">Oceania</option>
</select><br>
</label>
<!--User story 13-->
<fieldset>
<p>Gender :</p>
<label class="content"><span>Male</span>
<input type="radio" name="gender" value="male">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Female</span>
<input type="radio" name="gender" value="female">
<span class="formRadio"></span>
</label>
</fieldset>
</div>
<div class="row col-s-9 col-9">
<!--User story 14-->
<fieldset>
<p>Which of these devices do you connect to the internet with?(Check all that apply)</p>
<label class="content">
<span>Desktop computer</span>
<input type="checkbox" name="devices" value="desktop">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Laptop computer</span>
<input type="checkbox" name="devices" value="laptop">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Personal Digital Assistant (PDA)</span>
<input type="checkbox" name="devices" value="pda">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Computer Tablet</span>
<input type="checkbox" name="devices" value="tablet">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Enterprise Digital Assistant (EDA)</span>
<input type="checkbox" name="devices" value="eda">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Smartphone</span>
<input type="checkbox" name="devices" value="smartphone">
<span class="checkmark"></span>
</label>
<label class="content">
<span>Others</span>
<input type="checkbox" name="devices" value="other">
<span class="checkmark"></span>
</label>
</fieldset>
<fieldset>
<p>Which device is your most preferable to connect to the internet?</p>
<label class="content">
<span>Desktop computer</span>
<input type="radio" name="prefered_device" value="computer">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Laptop computer</span>
<input type="radio" name="prefered_device" value="laptop">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Personal Digital Assistant (PDA)</span>
<input type="radio" name="prefered_device" value="pda">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Computer Tablet</span>
<input type="radio" name="prefered_device" value="tablet">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Enterprise Digital Assistant (EDA)</span>
<input type="radio" name="prefered_device" value="eda">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Smartphone</span>
<input type="radio" name="prefered_device" value="smartphone">
<span class="formRadio"></span>
</label>
<label class="content">
<span>Other</span>
<input type="radio" name="prefered_device" value="others">
<span class="formRadio"></span>
</label>
</fieldset>
</div>
<div class="row col-s-9 col-9">
<fieldset>
<p>Where do you most prefer to use the internet?</p>
<label class="content">
<span>Home</span>
<input type="radio" name="prefered_area" value="home">
<span class="formRadio"></span></label>
<label class="content">
<span>Cafe/Cofee shop</span>
<input type="radio" name="prefered_area" value="cafe">
<span class="formRadio"></span></label>
<label class="content">
<span>Outside</span>
<input type="radio" name="prefered_area" value="outside">
<span class="formRadio"></span></label>
<label class="content">
<span>Bookstore</span>
<input type="radio" name="prefered_area" value="bookstore">
<span class="formRadio"></span></label>
<label class="content">
<span>Library</span>
<input type="radio" name="prefered_area" value="library">
<span class="formRadio"></span></label>
<label class="content">
<span>Friend's home</span>
<input type="radio" name="prefered_area" value="friend_home">
<span class="formRadio"></span></label>
<label class="content">
<span>Work</span>
<input type="radio" name="prefered_area" value="work">
<span class="formRadio"></span></label>
<label class="content">
<span>Other</span>
<input type="radio" name="prefered_area" value="other">
<span class="formRadio"></span></label>
</fieldset>
<fieldset>
<p>
Do you use the internet more often for work or for personal reasons or an equal amount of both?
</p>
<label class="content">
<span>Much more often for work</span>
<input type="radio" name="usage" value="work_4">
<span class="formRadio"></span></label>
<label class="content">
<span>Slightly more often for work</span>
<input type="radio" name="usage" value="work_3">
<span class="formRadio"></span></label>
<label class="content">
<span>About an equal amount for both work and personal reasons</span>
<input type="radio" name="usage" value="work_2">
<span class="formRadio"></span></label>
<label class="content">
<span>Slightly more for personal reasons</span>
<input type="radio" name="usage" value="work_1">
<span class="formRadio"></span></label>
<label class="content">
<span>Much more for personal reasons</span>
<input type="radio" name="usage" value="work_0">
<span class="formRadio"></span></label>
</fieldset>
<fieldset>
<p>
What do you most often use the internet for? (Check all that apply)
</p>
<label class="content">
<span>Research academic articles or books</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="research_documents">
<span class="checkmark"></span></label>
<label class="content">
<span>Purchase products or services</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="purchasing">
<span class="checkmark"></span></label>
<label class="content">
<span>Practice using a new language</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="learn_languages">
<span class="checkmark"></span></label>
<label class="content">
<span>Find people you know</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="searching_people">
<span class="checkmark"></span></label>
<label class="content">
<span>Record videos</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="record_video">
<span class="checkmark"></span></label>
<label class="content">
<span>Play games</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="gaming">
<span class="checkmark"></span></label>
<label class="content">
<span>Take online professional training classes</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="training">
<span class="checkmark"></span></label>
<label class="content">
<span>Take online academic classes</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="classes">
<span class="checkmark"></span></label>
<label class="content">
<span>Play music</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="music">
<span class="checkmark"></span></label>
<label class="content">
<span>Send or receive instant messages</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="messaging">
<span class="checkmark"></span></label>
<label class="content">
<span>Get directions</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="get_direction">
<span class="checkmark"></span></label>
<label class="content">
<span>Read other people's comments (on blogs, news stories, etc.)</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="read_story">
<span class="checkmark"></span></label>
<label class="content">
<span>Pay bills</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="pay_bills">
<span class="checkmark"></span></label>
<label class="content">
<span>Start new dating relationships</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="dating">
<span class="checkmark"></span></label>
<label class="content">
<span>Keep in touch with current or former coworkers</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="coworkers_in_touch">
<span class="checkmark"></span></label>
<label class="content">
<span>Send or receive photos</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="photo">
<span class="checkmark"></span></label>
<label class="content">
<span>Send or receive videos</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="photo_sending">
<span class="checkmark"></span></label>
<label class="content">
<span>Keep in touch with friends</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="friends_keep_in_touch">
<span class="checkmark"></span></label>
<label class="content">
<span>Make or receive phone calls</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="calling">
<span class="checkmark"></span></label>
<label class="content">
<span>Find local events</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="events">
<span class="checkmark"></span></label>
<label class="content">
<span>Take or post surveys</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="survey">
<span class="checkmark"></span></label>
<label class="content">
<span>Start new friendships</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="start_frienship">
<span class="checkmark"></span></label>
<label class="content">
<span>Search or apply for jobs</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="job_searching">
<span class="checkmark"></span></label>
<label class="content">
<span>Play podcasts</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="podcasting">
<span class="checkmark"></span></label>
<label class="content">
<span>Keep up with current events</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="event_news">
<span class="checkmark"></span></label>
<label class="content">
<span>Check the weather forecast</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="wheather">
<span class="checkmark"></span></label>
<label class="content">
<span>Make travel arrangements</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="traveling">
<span class="checkmark"></span></label>
<label class="content">
<span> Find recipes</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="recipes">
<span class="checkmark"></span></label>
<label class="content">
<span>Play videos (other than video games)</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="cooking">
<span class="checkmark"></span></label>
<label class="content">
<span>Use social networking websites</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="social_networking">
<span class="checkmark"></span></label>
<label class="content">
<span>Other</span>
<input type="checkbox" class="formCheck" name="regular_usage" value="other">
<span class="checkmark"></span></label>
</fieldset>
</div>
<div class="row col-s-9 col-9">
<!--User story 15-->
<label>
<p>Comments</p>
<textarea>Additional comments ...</textarea>
<span class="checkmark"></span>
</label>
</div>
<div class="row col-s-9 col-9 last">
<!--User story 16-->
<input type="submit" id="submit" class="soumettre">
</div>
</form>
</div>
</body>
</html>