|
2 | 2 | <head>
|
3 | 3 | <meta charset="UTF-8" />
|
4 | 4 | <meta name = "viewport" content="width=device-width, initial-scale=1"/>
|
5 |
| - <link rel="stylesheet" type="text/css" href="./style.css" /> |
6 |
| - <title>Mood Quiz Results</title> |
7 | 5 | <!-- Bootstrap CSS -->
|
8 | 6 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
9 |
| -</head> |
| 7 | + |
| 8 | + <link rel="stylesheet" type="text/css" href="./style.css" /> |
| 9 | + <title>Mood Quiz Results</title> |
| 10 | + </head> |
10 | 11 | <body>
|
11 | 12 | <header>
|
12 |
| - <h1>Results</h1> |
| 13 | + <h1>Mood Quiz</h1> |
13 | 14 | </header>
|
14 | 15 | <main>
|
15 |
| - <h2>Your score is</h2> |
16 |
| - <p id="final_score"></p> |
| 16 | + <div class="result"> |
| 17 | + <h2>Results</h2> |
| 18 | + <div> |
| 19 | + <p id="final_score"></p> |
| 20 | + <p>Based on your score of __ , you fall into the category of __.<br> |
| 21 | + We have provided a list of resources that we hope you find helpful.<br> |
| 22 | + If you live in the U.S., you can cal 988 or text 741741 to talk to someone ASAP.<br> |
| 23 | + If you need help with housing, food, or other resources and live in the US, please call 211 for a list of resources in your area.<br> |
| 24 | + If you are in immediate danger or crisis, please call 911 or go to your nearest emergency room.</p> |
| 25 | + <ul> |
| 26 | + <li><a href="https://www.helpguide.org/find-help">International Help Locator</a></li> |
| 27 | + <li><a href="https://www.nami.org/Find-Support">Find Support</a></li> |
| 28 | + <li><a href="https://www.samhsa.gov/find-help/national-helpline">USA National Helpline</a></li> |
| 29 | + <li><a href="https://www.crisistextline.org">Crisis Text Line (741741)</a></li> |
| 30 | + </ul> |
| 31 | + |
| 32 | + <table> |
| 33 | + <tr> |
| 34 | + <th>Total Score</th> |
| 35 | + <th>Depression Severity</th> |
| 36 | + </tr> |
| 37 | + <tr> |
| 38 | + <td>1-4</td> |
| 39 | + <td>Minimal Depression</td> |
| 40 | + </tr> |
| 41 | + <tr> |
| 42 | + <td>5-9</td> |
| 43 | + <td>Mild Depression</td> |
| 44 | + </tr> |
| 45 | + <tr> |
| 46 | + <td>10-14</td> |
| 47 | + <td>Moderate Depression</td> |
| 48 | + </tr> |
| 49 | + <tr> |
| 50 | + <td>15-19</td> |
| 51 | + <td>Moderately Severe Depression</td> |
| 52 | + </tr> |
| 53 | + <tr> |
| 54 | + <td>20-27</td> |
| 55 | + <td>Severe Depression</td> |
| 56 | + </tr> |
| 57 | + </table> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + <div id="error_message"></div> |
| 61 | + <div class="reset"> |
| 62 | + <button>reset quiz</button> |
| 63 | + </div> |
| 64 | + <div class="carousel"> |
| 65 | + <button>prev</button> |
| 66 | + <button>next</button> |
| 67 | + </div> |
| 68 | + <div class="share"> |
| 69 | + <button>Share Quiz</button> |
| 70 | + |
| 71 | + <!-- Button trigger modal --> |
| 72 | +<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop"> |
| 73 | + Share Quiz |
| 74 | + </button> |
| 75 | + |
| 76 | + <!-- Modal --> |
| 77 | + <div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> |
| 78 | + <div class="modal-dialog"> |
| 79 | + <div class="modal-content"> |
| 80 | + <div class="modal-header"> |
| 81 | + <h1 class="modal-title fs-5" id="staticBackdropLabel">Modal title</h1> |
| 82 | + <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 83 | + </div> |
| 84 | + <div class="modal-body"> |
| 85 | + ... |
| 86 | + </div> |
| 87 | + <div class="modal-footer"> |
| 88 | + <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> |
| 89 | + <button type="button" class="btn btn-primary">Understood</button> |
| 90 | + </div> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + </div> |
17 | 95 | </main>
|
| 96 | + <footer> |
| 97 | + <p>This website is not representative of an official diagnosis nor should be interpreted as medical advice. <br> |
| 98 | + Please seek medical attention if needed.<br> |
| 99 | + Based on the PHQ-9 questionnaire. Copyright © Pfizer Inc. All rights reserved.<br> |
| 100 | + Website created & designed by _____. |
| 101 | + </p> |
| 102 | +</footer> |
18 | 103 | <!-- Bootstrap JavaScript -->
|
19 | 104 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
20 | 105 | <!-- base JavaScript -->
|
|
0 commit comments