-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSurvey.html
300 lines (269 loc) · 14.9 KB
/
Survey.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Survey Form</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="Survey.css"> <!-- Include your CSS file here -->
</head>
<body>
<div class="container mt-5">
<h1 class="text-center">Survey Form</h1>
<form id="surveyForm">
<!-- Question 1 (MCQ) -->
<div class="form-group">
<label for="q1">1. How do you prefer to learn?</label>
<select class="form-control" id="q1" name="question1">
<option value="online">Online</option>
<option value="in-person">In-person</option>
<option value="both">Both</option>
</select>
</div>
<!-- Question 2 (Open-ended) -->
<div class="form-group">
<label for="q2">2. What are your favorite subjects to learn?</label>
<textarea class="form-control" id="q2" name="question2" rows="3"></textarea>
</div>
<!-- Continue with more questions... -->
<!-- Question 3 (MCQ) -->
<div class="form-group">
<label>3. Do you find the current pace of learning suitable?</label><br>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question3" id="q3a" value="yes">
<label class="form-check-label" for="q3a">Yes</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question3" id="q3b" value="no">
<label class="form-check-label" for="q3b">No</label>
</div>
</div>
<!-- Question 4 (Open-ended) -->
<div class="form-group">
<label for="q4">4. What challenges do you face in your learning journey?</label>
<textarea class="form-control" id="q4" name="question4" rows="3"></textarea>
</div>
<!-- Continue with more questions... -->
<!-- Question 5 (MCQ) -->
<div class="form-group">
<label>5. Which learning resources do you find most effective? (Select all that apply)</label><br>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question5" id="q5a" value="textbooks">
<label class="form-check-label" for="q5a">Textbooks</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question5" id="q5b" value="video-lectures">
<label class="form-check-label" for="q5b">Video lectures</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question5" id="q5c" value="interactive-quizzes">
<label class="form-check-label" for="q5c">Interactive quizzes</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question5" id="q5d" value="one-on-one-tutoring">
<label class="form-check-label" for="q5d">One-on-one tutoring</label>
</div>
</div>
<!-- Question 6 (Open-ended) -->
<div class="form-group">
<label for="q6">6. What is your preferred study environment?</label>
<textarea class="form-control" id="q6" name="question6" rows="3"></textarea>
</div>
<!-- Question 7 (Open-ended) -->
<div class="form-group">
<label for="q7">7. How do you stay organized with your study materials?</label>
<textarea class="form-control" id="q7" name="question7" rows="3"></textarea>
</div>
<!-- Question 8 (MCQ) -->
<div class="form-group">
<label>8. What type of assessments do you prefer? (Select one)</label><br>
<div class="form-check">
<input class="form-check-input" type="radio" name="question8" id="q8a" value="written">
<label class="form-check-label" for="q8a">Written exams</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question8" id="q8b" value="oral">
<label class="form-check-label" for="q8b">Oral presentations</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question8" id="q8c" value="practical">
<label class="form-check-label" for="q8c">Practical assessments</label>
</div>
</div>
<!-- Question 9 (Open-ended) -->
<div class="form-group">
<label for="q9">9. What study techniques have you found helpful?</label>
<textarea class="form-control" id="q9" name="question9" rows="3"></textarea>
</div>
<!-- Question 10 (MCQ) -->
<div class="form-group">
<label>10. How often do you seek help from teachers or tutors?</label><br>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question10" id="q10a" value="often">
<label class="form-check-label" for="q10a">Often</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question10" id="q10b" value="sometimes">
<label class="form-check-label" for="q10b">Sometimes</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question10" id="q10c" value="rarely">
<label class="form-check-label" for="q10c">Rarely</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="question10" id="q10d" value="never">
<label class="form-check-label" for="q10d">Never</label>
</div>
</div>
<!-- Additional Questions -->
<!-- Question 11 (MCQ) -->
<div class="form-group">
<label for="q11">11. How do you manage your time effectively?</label>
<select class="form-control" id="q11" name="question11">
<option value="planning">Planning and scheduling</option>
<option value="prioritizing">Prioritizing tasks</option>
<option value="multitasking">Multitasking</option>
<option value="not-effective">Not effective at all</option>
</select>
</div>
<!-- Question 12 (Open-ended) -->
<div class="form-group">
<label for="q12">12. What motivates you to study and learn?</label>
<textarea class="form-control" id="q12" name="question12" rows="3"></textarea>
</div>
<!-- Question 13 (MCQ) -->
<div class="form-group">
<label>13. How do you handle stress during exams?</label><br>
<div class="form-check">
<input class="form-check-input" type="radio" name="question13" id="q13a" value="meditation">
<label class="form-check-label" for="q13a">Meditation and relaxation</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question13" id="q13b" value="exercise">
<label class="form-check-label" for="q13b">Regular exercise</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question13" id="q13c" value="study-more">
<label class="form-check-label" for="q13c">Study more intensively</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question13" id="q13d" value="seek-help">
<label class="form-check-label" for="q13d">Seek help and guidance</label>
</div>
</div>
<!-- Question 14 (Open-ended) -->
<div class="form-group">
<label for="q14">14. What do you aspire to achieve through your education?</label>
<textarea class="form-control" id="q14" name="question14" rows="3"></textarea>
</div>
<!-- Question 15 (MCQ) -->
<div class="form-group">
<label>15. How do you collaborate with peers for group projects?</label><br>
<div class="form-check">
<input class="form-check-input" type="radio" name="question15" id="q15a" value="meet-regularly">
<label class="form-check-label" for="q15a">Meet regularly in person</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question15" id="q15b" value="online-tools">
<label class="form-check-label" for="q15b">Use online collaboration tools</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question15" id="q15c" value="minimal-interaction">
<label class="form-check-label" for="q15c">Minimal interaction, mostly individual work</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question15" id="q15d" value="not-involved">
<label class="form-check-label" for="q15d">Not actively involved in group projects</label>
</div>
</div>
<!-- Question 16 (Open-ended) -->
<div class="form-group">
<label for="q16">16. How do you balance your academic and personal life?</label>
<textarea class="form-control" id="q16" name="question16" rows="3"></textarea>
</div>
<!-- Question 17 (Open-ended) -->
<div class="form-group">
<label for="q17">17. What are your long-term educational goals?</label>
<textarea class="form-control" id="q17" name="question17" rows="3"></textarea>
</div>
<!-- Question 18 (MCQ) -->
<div class="form-group">
<label>18. How do you prefer to take lecture notes?</label><br>
<div class="form-check">
<input class="form-check-input" type="radio" name="question18" id="q18a" value="handwritten">
<label class="form-check-label" for="q18a">Handwritten notes</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question18" id="q18b" value="digital">
<label class="form-check-label" for="q18b">Digital notes (e.g., on a laptop or tablet)</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="question18" id="q18c" value="no-notes">
<label class="form-check-label" for="q18c">I don't take notes during lectures</label>
</div>
</div>
<!-- Question 19 (Open-ended) -->
<div class="form-group">
<label for="q19">19. How do you overcome procrastination?</label>
<textarea class="form-control" id="q19" name="question19" rows="3"></textarea>
</div>
<!-- Question 20 (MCQ) -->
<div class="form-group">
<label>20. Which extracurricular activities are you involved in?</label><br>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question20" id="q20a" value="sports">
<label class="form-check-label" for="q20a">Sports</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question20" id="q20b" value="clubs">
<label class="form-check-label" for="q20b">Clubs and organizations</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question20" id="q20c" value="volunteer">
<label class="form-check-label" for="q20c">Volunteer work</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="question20" id="q20d" value="arts">
<label class="form-check-label" for="q20d">Arts and creative activities</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
<script>
// Handle form submission
document.getElementById('surveyForm').addEventListener('submit', function (event) {
event.preventDefault(); // Prevent the default form submission
// Get form data
const formData = new FormData(event.target);
const formDataObject = {};
// Convert form data to an object
formData.forEach((value, key) => {
formDataObject[key] = value;
});
// Process the collected data
processFormData(formDataObject);
});
// Function to process form data
function processFormData(data) {
// You can perform actions with the collected data here
// For example, sending data to a server, storing it in a database, or displaying it on the page
// For this example, we'll just display the data in the console
console.log('Collected Data:', data);
// You can add more processing logic here
// For instance, validation, data manipulation, or AJAX requests
}
</script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap/dist/js/bootstrap.min.js"></script>
<script>
// Handle form submission
$('#surveyForm').submit(function (event) {
event.preventDefault();
// You can use JavaScript to process and send survey data as needed.
// For this example, we'll just display a success message.
alert('Survey submitted successfully. Thank you!');
});
</script>
</body>
</html>