-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz_page.html
309 lines (283 loc) · 17 KB
/
quiz_page.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MindCare Connect</title>
<link rel="stylesheet" href="blog.css">
<link rel="stylesheet" href="bmi.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="bmis.js"></script>
<script src="quiz_page.js"></script>
</head>
<body style="background-color:#FFFFFF; background-image: linear-gradient(#FFFFFF, #D3C0D2); overflow-x: hidden;">
<!--NAV BAR-->
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
<script src="https://mediafiles.botpress.cloud/48f879f3-f15f-4195-9ddd-126ea094aae6/webchat/config.js" defer></script>
<div style="background-color: #FFFFFF;">
<a><img src=""></a>
<a href="blog_page.html" style="text-decoration: none;"><div style="text-align: center; color: black; font-size: 25px; font-family: Nunito; font-weight: 700; word-wrap: break-word;margin-left:900px;">Blog</div></a>
<a href="about_us.html" style="text-decoration: none;"><div style="text-align: center; color: black; font-size: 25px; font-family: Nunito; font-weight: 700; word-wrap: break-word; margin-left:700px;margin-top:-37px;">About us</div></a>
<a href="index.html" style="text-decoration: none;"><div style="text-align: center; color: black; font-size: 25px; font-family: Nunito; font-weight: 700; word-wrap: break-word; margin-left:240px;margin-top:-37px;">Home</div></a>
<a href="forum_discussion_page.html" style="text-decoration: none;"><div style="text-align: center; color: black; font-size: 25px; font-family: Nunito; font-weight: 700; word-wrap: break-word; margin-left:440px;margin-top:-37px;">Forum</div></a>
<a href="index.html"><img src="MCC_logo.png" style="width:200px; margin-top:-50px;"></a>
<!--DROP DOWN MENU-->
<div style="margin-left:1170px; margin-top:-190px;"><center>
<ul class="nav nav-tabs" style="border-color: #ffffff;">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">
<div style="width: 35px;height: 5px;background-color: black;margin: 3px 0;"></div>
<div style="width: 35px;height: 5px;background-color: black;margin: 3px 0;"></div>
<div style="width: 35px;height: 5px;background-color: black;margin: 3px 0;"></div>
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="bmi_diet_lifestyle.html">BMI, Diet and Lifestyle</a></li>
<li><a class="dropdown-item" href="lgbtq_page.html">LGBTQ+ support</a></li>
<li><a class="dropdown-item" href="quiz_page.html">Assessment</a></li>
<li><a class="dropdown-item" href="crisis.html">Crisis & Helpline</a></li>
</ul>
</li>
</ul>
</center></div>
<!--END OF DROP DOWN-->
</div>
<!--END OF NAV BAR-->
<br><br><br><br>
<!--Questions section-->
<!--QUESTIONNAIRE-->
<br><br>
<p style="width:650px; text-align: center; margin-left:100px;">Here's a questionnaire that could help in identifying potential mental health disorders. <br>Keep in mind that this is a general guideline and not a diagnostic tool. <br>A qualified mental health professional should be consulted for an accurate assessment.</p>
<br>
<h1 style="margin-left:100px; font-size: 45px; color:#1c1642">Mental Health Assessment</h1>
<div style="width:1000px; text-align: justify; margin-left:250px;" id="contentToPrint">
<!--
<form id="questionnaireForm">
<ol>
<li>
<label for="q1" style="width:700px;">Over the past two weeks, how often have you experienced feeling sad, down, or hopeless?</label>
<br><br>
<select id="q1" name="q1" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q2">Have you noticed a significant change in your appetite or weight recently?</label><br><br>
<select id="q2" name="q2" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q3">Do you find it difficult to fall asleep or stay asleep?</label><br><br>
<select id="q3" name="q3" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q4">Do you feel a sense of worthlessness or excessive guilt?</label><br><br>
<select id="q4" name="q4" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q5">Have you lost interest or pleasure in activities that you used to enjoy?</label><br><br>
<select id="q5" name="q5" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q6">Are you experiencing fatigue or a lack of energy that is affecting your daily activities?</label><br><br>
<select id="q6" name="q6" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q7">Are you feeling agitated, restless, or finding it hard to sit still?</label><br><br>
<select id="q7" name="q7" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q8" style="width:800px;">Are you experiencing difficulty concentrating, making decisions, or remembering things?</label><br><br>
<select id="q8" name="q8" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q9">Do you have recurrent thoughts of death, dying, or thoughts of harming yourself?</label><br><br>
<select id="q9" name="q9" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q10">Are you avoiding social interactions or isolating yourself more than usual?</label><br><br>
<select id="q10" name="q10" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br><br>
<li>
<label for="q11">Have you noticed an increase in anxiety, excessive worry, or irrational fears?</label><br><br>
<select id="q11" name="q11" style="width:200px;">
<option value="0">Not at all</option>
<option value="3">Sometimes</option>
<option value="5">Often</option>
<option value="0">Prefer not to say</option>
</select>
<br>
</li>
</ol>
<center><button type="button" class="btn btn-primary btn-lg" onclick="calculateScore()" style="color:white; background-color: black; border-radius: 20px;">Submit</button></center>
</form>-->
<form id="questionnaireForm">
<ol>
<li><label for="q1">Over the past two weeks, how often have you experienced feeling sad, down, or hopeless?</label></li>
<br>
<input type="radio" id="q1_1" name="q1" value="0">
<label for="q1_1">Not at all</label><br>
<input type="radio" id="q1_2" name="q1" value="3">
<label for="q1_2">Sometimes</label><br>
<input type="radio" id="q1_3" name="q1" value="5">
<label for="q1_3">Often</label><br>
<input type="radio" id="q1_4" name="q1" value="0">
<label for="q1_4">Prefer not to say</label><br><br><br>
<li><label for="q2">Have you noticed a significant change in your appetite or weight recently?</label></li><br>
<input type="radio" id="q2_1" name="q2" value="0">
<label for="q2_1">Not at all</label><br>
<input type="radio" id="q2_2" name="q2" value="3">
<label for="q2_2">Sometimes</label><br>
<input type="radio" id="q2_3" name="q2" value="5">
<label for="q2_3">Often</label><br>
<input type="radio" id="q2_4" name="q2" value="0">
<label for="q2_4">Prefer not to say</label><br><br><br>
<li><label for="q3">Do you find it difficult to fall asleep or stay asleep?</label><br></li>
<input type="radio" id="q3_1" name="q3" value="0">
<label for="q3_1">Not at all</label><br>
<input type="radio" id="q3_2" name="q3" value="3">
<label for="q3_2">Sometimes</label><br>
<input type="radio" id="q3_3" name="q3" value="5">
<label for="q3_3">Often</label><br>
<input type="radio" id="q3_4" name="q3" value="0">
<label for="q3_4">Prefer not to say</label><br><br><br>
<li><label for="q4">Do you feel a sense of worthlessness or excessive guilt?</label><br></li>
<input type="radio" id="q4_1" name="q4" value="0">
<label for="q4_1">Not at all</label><br>
<input type="radio" id="q4_2" name="q4" value="3">
<label for="q4_2">Sometimes</label><br>
<input type="radio" id="q4_3" name="q4" value="5">
<label for="q4_3">Often</label><br>
<input type="radio" id="q4_4" name="q4" value="0">
<label for="q4_4">Prefer not to say</label><br><br><br>
<li><label for="q5">Have you lost interest or pleasure in activities that you used to enjoy?</label><br></li>
<input type="radio" id="q5_1" name="q5" value="0">
<label for="q5_1">Not at all</label><br>
<input type="radio" id="q5_2" name="q5" value="3">
<label for="q5_2">Sometimes</label><br>
<input type="radio" id="q5_3" name="q5" value="5">
<label for="q5_3">Often</label><br>
<input type="radio" id="q5_4" name="q5" value="0">
<label for="q5_4">Prefer not to say</label><br><br><br>
<li><label for="q6">Are you experiencing fatigue or a lack of energy that is affecting your daily activities?</label><br></li>
<input type="radio" id="q6_1" name="q6" value="0">
<label for="q6_1">Not at all</label><br>
<input type="radio" id="q6_2" name="q6" value="3">
<label for="q6_2">Sometimes</label><br>
<input type="radio" id="q6_3" name="q6" value="5">
<label for="q6_3">Often</label><br>
<input type="radio" id="q6_4" name="q6" value="0">
<label for="q6_4">Prefer not to say</label><br><br><br>
<li><label for="q7">Are you feeling agitated, restless, or finding it hard to sit still?</label><br></li>
<input type="radio" id="q7_1" name="q7" value="0">
<label for="q7_1">Not at all</label><br>
<input type="radio" id="q7_2" name="q7" value="3">
<label for="q7_2">Sometimes</label><br>
<input type="radio" id="q7_3" name="q7" value="5">
<label for="q7_3">Often</label><br>
<input type="radio" id="q7_4" name="q7" value="0">
<label for="q7_4">Prefer not to say</label><br><br><br>
<li><label for="q8">Are you experiencing difficulty concentrating, making decisions, or remembering things?</label><br></li>
<input type="radio" id="q8_1" name="q8" value="0">
<label for="q8_1">Not at all</label><br>
<input type="radio" id="q8_2" name="q8" value="3">
<label for="q8_2">Sometimes</label><br>
<input type="radio" id="q8_3" name="q8" value="5">
<label for="q8_3">Often</label><br>
<input type="radio" id="q8_4" name="q8" value="0">
<label for="q8_4">Prefer not to say</label><br><br><br>
<li><label for="q9">Do you have recurrent thoughts of death, dying, or thoughts of harming yourself?</label><br></li>
<input type="radio" id="q9_1" name="q9" value="0">
<label for="q9_1">Not at all</label><br>
<input type="radio" id="q9_2" name="q9" value="3">
<label for="q9_2">Sometimes</label><br>
<input type="radio" id="q9_3" name="q9" value="5">
<label for="q9_3">Often</label><br>
<input type="radio" id="q9_4" name="q9" value="0">
<label for="q9_4">Prefer not to say</label><br><br><br>
<li><label for="q10">Are you avoiding social interactions or isolating yourself more than usual?</label><br></li>
<input type="radio" id="q10_1" name="q10" value="0">
<label for="q10_1">Not at all</label><br>
<input type="radio" id="q10_2" name="q10" value="3">
<label for="q6_2">Sometimes</label><br>
<input type="radio" id="q10_3" name="q10" value="5">
<label for="q10_3">Often</label><br>
<input type="radio" id="q10_4" name="q10" value="0">
<label for="q10_4">Prefer not to say</label><br><br><br>
<li><label for="q11">Have you noticed an increase in anxiety, excessive worry, or irrational fears?</label><br></li>
<input type="radio" id="q11_1" name="q11" value="0">
<label for="q11_1">Not at all</label><br>
<input type="radio" id="q11_2" name="q11" value="3">
<label for="q11_2">Sometimes</label><br>
<input type="radio" id="q11_3" name="q11" value="5">
<label for="q11_3">Often</label><br>
<input type="radio" id="q11_4" name="q11" value="0">
<label for="q11_4">Prefer not to say</label><br><br><br>
</ol>
<center><button type="button" class="btn btn-primary btn-lg" onclick="calculateScore()">Submit</button></center>
</form>
</div>
<br><br>
<h1 id="result" style="margin-left: -700px;">Result: </h1>
<br><br>
<p style="width:900px; margin-left: 20%; text-align: justify;">
<br>If you've obtained a score < 30, you are perfectly fine! There is no need to worry.<br>
If you've obtained a score >= 30, you are exhibiting mild symptoms. Consult a doctor at your convenience.<br>
If you've obtained a score >= 40, you must visit a doctor.<br><br>
Keep in mind that this questionnaire is not a substitute for professional assessment. If you have concerns about your mental health, it's important to consult a mental health professional for a comprehensive evaluation and appropriate guidance.
<br><br>Remember, seeking help is a sign of strength, and there is support available to help you navigate your mental health journey.</p>
<img style="width: 300px; height: 350px; float: right; margin-right: 50px; margin-top:-1700px; border-radius: 800px;" src="chat with us.png">
<br><br>
<!--FOOTER-->
<hr>
<p style="text-align: center; font-weight: bolder;">MindCare Connect</p>
<p style="text-align: center; margin-top:-20px; font-weight: bolder;">@2023. All Rights Reserved.</p>
</body>
</html>