-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.html
100 lines (97 loc) · 4.92 KB
/
results.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
<html lang="en-us">
<head>
<meta charset="UTF-8" />
<meta name = "viewport" content="width=device-width, initial-scale=1"/>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- result1 CSS (default) -->
<link id="result" rel="stylesheet" type="text/css" href="./assets/css/result1.css" />
<title>Virtual Depression Quiz Results</title>
</head>
<body>
<header>
<h1>Virtual Depression Quiz</h1>
</header>
<main>
<div class="result">
<h2>Results</h2>
<div>
<p>Based on your score of <span id="display_total_score"></span>, you fall into the category of <span id="mood_name"></span>.<br><br>
We have provided a list of resources below that we hope you find helpful. If you live in the U.S., you can <span class="bold">call 988</span> or <span class="bold">text 741741</span> to talk to someone ASAP.
If you need help with housing, food, or other resources and live in the US, please <span class="bold">call 211</span> for a list of resources in your area.<br><br>
<span class="bold">If you are in immediate danger or crisis, please call 911 or go to your nearest emergency room.</span></p>
<ul>
<h3>Click Link Below</h3>
<li><a href="https://www.helpguide.org/find-help">International Help Locator</a></li>
<li><a href="https://www.nami.org/Find-Support">NAMI Support Locator</a></li>
<li><a href="https://www.samhsa.gov/find-help/national-helpline">SAMHSA National Helpline</a></li>
<li><a href="https://www.crisistextline.org">Crisis Text Line (741741)</a></li>
</ul>
<table>
<tr>
<th>Total Score</th>
<th>Depression Severity</th>
</tr>
<tr>
<td>1-4</td>
<td>Minimal Depression</td>
</tr>
<tr>
<td>5-9</td>
<td>Mild Depression</td>
</tr>
<tr>
<td>10-14</td>
<td>Moderate Depression</td>
</tr>
<tr>
<td>15-19</td>
<td>Moderately Severe Depression</td>
</tr>
<tr>
<td>20-27</td>
<td>Severe Depression</td>
</tr>
</table>
</div>
</div>
<br>
<!-- add retake button logic on results.html that sends user back to index.html-->
<div class="share">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
Share Quiz
</button>
</div>
<!-- Modal to put Share Button info into -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel">Share This Quiz</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<code>
https://vaguebunny.github.io/mood-quiz/
</code>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</main>
<footer>
<p>This website is not representative of an official diagnosis nor should be interpreted as medical advice. <br>
Please seek medical attention if needed.<br>
Based on the <a href="https://en.wikipedia.org/wiki/PHQ-9">PHQ-9 questionnaire</a>. Copyright © Pfizer Inc. All rights reserved.<br>
Website created & designed by Rachel Maes, Benjamin Perdido, & Eric Diaz.
</p>
</footer>
<!-- Bootstrap JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- base JavaScript -->
<script src="./assets/js/results.js"></script>
</body>
</html>