-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOneFileRicePurityTest.html
More file actions
230 lines (196 loc) · 12.4 KB
/
OneFileRicePurityTest.html
File metadata and controls
230 lines (196 loc) · 12.4 KB
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
<!DOCTYPE html>
<html>
<head>
<!--sets the title Rice Purity Test-->
<title>
Rice Purity Test
</title>
</head>
<body>
<style>
.center{ /*style for image*/
text-align: center;
}
.title{ /*style for title*/
color: red;
font-style: italic;
font-weight: bold;
text-align: center;
font-size: 18px;
}
p1{
font-size: 24px;
text-align: center;
}
.test{
font-size: 36px;
text-align: center;
}
.text{ /*style for text*/
margin: auto;
width: 600px;
text-align: center;
}
.result{ /*style for result text*/
text-align: center;
color: red;
font-weight: 900;
font-size: 16px;
}
body{ /*style for background*/
background-color: #fdedc9;
}
button{ /*style for buttons*/
background-color: #d0f3cd;
border: 2px solid black;
border-radius: 12px;
color: black;
display: inline-block;
text-decoration: none;
}
</style>
<h1 class="title"><br>The Unofficial</h1> <!--title of the test-->
<p class="test"><p1>Thresher</p1><br>Rice Purity Test</p>
<div class="text"> <!--text explaining the test-->
<p><em>The Purity Test has historically served as a segue from O-week to true college life at Rice. It's a voluntary opportunity for O-week groups to bond, and for students to track the maturation of their experiences throughout college.</em></p>
<p><strong>Caution: This is not a bucket list. Completion of all items on this test will likely result in death.</strong></p>
<p><br>Click on every item you have done. MPS stands for Member of the Preferred Sex.</p><br>
<div id="result" class="result" style="display: none;"></div> <!--where the result will be displayed-->
</div>
<div id="list">
<ol> <!--list of questions-->
<li> <input type="checkbox" id="1"> Held hands romantically?
<li> <input type="checkbox" id="2"> Been on a date?
<li> <input type="checkbox" id="3"> Been in a relationship?
<li> <input type="checkbox" id="4"> Danced without leaving room for Jesus?
<li> <input type="checkbox" id="5"> Kissed a non-family member?
<li> <input type="checkbox" id="6"> Kissed a non-family member on the lips?
<li> <input type="checkbox" id="7"> French kissed?
<li> <input type="checkbox" id="8"> French kissed in public?
<li> <input type="checkbox" id="9"> Kissed on the neck?
<li> <input type="checkbox" id="10"> Kissed horizontally?
<li> <input type="checkbox" id="11"> Given or received a hickey?
<li> <input type="checkbox" id="12"> Kissed or been kissed on the breast?
<li> <input type="checkbox" id="13"> Kissed someone below the belt?
<li> <input type="checkbox" id="14"> Kissed for more than two hours consecutively?
<li> <input type="checkbox" id="15"> Played a game involving stripping?
<li> <input type="checkbox" id="16"> Seen or been seen by another person in a sensual context?
<li> <input type="checkbox" id="17"> Masturbated?
<li> <input type="checkbox" id="18"> Masturbated to a picture or video?
<li> <input type="checkbox" id="19"> Masturbated while someone else was in the room?
<li> <input type="checkbox" id="20"> Been caught masturbating?
<li> <input type="checkbox" id="21"> Masturbated with an inanimate object?
<li> <input type="checkbox" id="22"> Seen or read pornographic material?
<li> <input type="checkbox" id="23"> Massaged or been massaged sensually?
<li> <input type="checkbox" id="24"> Gone through the motions of intercourse while fully dressed?
<li> <input type="checkbox" id="25"> Undressed or been undressed by a MPS (member of the preferred sex)?
<li> <input type="checkbox" id="26"> Showered with a MPS?
<li> <input type="checkbox" id="27"> Fondled or had your butt cheeks fondled?
<li> <input type="checkbox" id="28"> Fondled or had your breasts fondled?
<li> <input type="checkbox" id="29"> Fondled or had your genitals fondled?
<li> <input type="checkbox" id="30"> Had or given “blue balls”?
<li> <input type="checkbox" id="31"> Had an orgasm due to someone else’s manipulation?
<li> <input type="checkbox" id="32"> Sent a sexually explicit text or instant message?
<li> <input type="checkbox" id="33"> Sent or received sexually explicit photographs?
<li> <input type="checkbox" id="34"> Engaged in sexually explicit activity over video chat?
<li> <input type="checkbox" id="35"> Cheated on a significant other during a relationship?
<li> <input type="checkbox" id="36"> Purchased contraceptives?
<li> <input type="checkbox" id="37"> Gave oral sex?
<li> <input type="checkbox" id="38"> Received oral sex?
<li> <input type="checkbox" id="39"> Ingested someone else’s genital secretion?
<li> <input type="checkbox" id="40"> Used a sex toy with a partner?
<li> <input type="checkbox" id="41"> Spent the night with a MPS?
<li> <input type="checkbox" id="42"> Been walked in on while engaging in a sexual act?
<li> <input type="checkbox" id="43"> Kicked a roommate out to commit a sexual act?
<li> <input type="checkbox" id="44"> Ingested alcohol in a non-religious context?
<li> <input type="checkbox" id="45"> Played a drinking game?
<li> <input type="checkbox" id="46"> Been drunk?
<li> <input type="checkbox" id="47"> Faked sobriety to parents or teachers?
<li> <input type="checkbox" id="48"> Had severe memory loss due to alcohol?
<li> <input type="checkbox" id="49"> Used tobacco?
<li> <input type="checkbox" id="50"> Used marijuana?
<li> <input type="checkbox" id="51"> Used a drug stronger than marijuana?
<li> <input type="checkbox" id="52"> Used methamphetamine, crack cocaine, PCP, horse tranquilizers or heroin?
<li> <input type="checkbox" id="53"> Been sent to the office of a principal, dean or judicial affairs representative for a disciplinary infraction?
<li> <input type="checkbox" id="54"> Been put on disciplinary probation or suspended?
<li> <input type="checkbox" id="55"> Urinated in public?
<li> <input type="checkbox" id="56"> Gone skinny-dipping?
<li> <input type="checkbox" id="57"> Gone streaking?
<li> <input type="checkbox" id="58"> Seen a stripper?
<li> <input type="checkbox" id="59"> Had the police called on you?
<li> <input type="checkbox" id="60"> Run from the police?
<li> <input type="checkbox" id="61"> Had the police question you?
<li> <input type="checkbox" id="62"> Had the police handcuff you?
<li> <input type="checkbox" id="63"> Been arrested?
<li> <input type="checkbox" id="64"> Been convicted of a crime?
<li> <input type="checkbox" id="65"> Been convicted of a felony?
<li> <input type="checkbox" id="66"> Committed an act of vandalism?
<li> <input type="checkbox" id="67"> Had sexual intercourse?
<li> <input type="checkbox" id="68"> Had sexual intercourse three or more times in one night?
<li> <input type="checkbox" id="69"> ?
<li> <input type="checkbox" id="70"> Had sexual intercourse 10 or more times?
<li> <input type="checkbox" id="71"> Had sexual intercourse in four or more positions?
<li> <input type="checkbox" id="72"> Had sexual intercourse with a stranger or person you met within 24 hours?
<li> <input type="checkbox" id="73"> Had sexual intercourse in a motor vehicle?
<li> <input type="checkbox" id="74"> Had sexual intercourse outdoors?
<li> <input type="checkbox" id="75"> Had sexual intercourse in public?
<li> <input type="checkbox" id="76"> Had sexual intercourse in a swimming pool or hot tub?
<li> <input type="checkbox" id="77"> Had sexual intercourse in a bed not belonging to you or your partner?
<li> <input type="checkbox" id="78"> Had sexual intercourse while you or your partner’s parents were in the same home?
<li> <input type="checkbox" id="79"> Had sexual intercourse with non-participating third party in the same room?
<li> <input type="checkbox" id="80"> Joined the mile high club?
<li> <input type="checkbox" id="81"> Participated in a “booty call” with a partner whom you were not in a relationship with?
<li> <input type="checkbox" id="82"> Traveled 100 or more miles for the primary purpose of sexual intercourse?
<li> <input type="checkbox" id="83"> Had sexual intercourse with a partner with a 3 or more year age difference?
<li> <input type="checkbox" id="84"> Had sexual intercourse with a virgin?
<li> <input type="checkbox" id="85"> Had sexual intercourse without a condom?
<li> <input type="checkbox" id="86"> Had a STI test due to reasonable suspicion?
<li> <input type="checkbox" id="87"> Had a STI?
<li> <input type="checkbox" id="88"> Had a threesome?
<li> <input type="checkbox" id="89"> Attended an orgy?
<li> <input type="checkbox" id="90"> Had two or more distinct acts of sexual intercourse with two or more people within 24 hours?
<li> <input type="checkbox" id="91"> Had sexual intercourse with five or more partners?
<li> <input type="checkbox" id="92"> Been photographed or filmed during sexual intercourse by yourself or others?
<li> <input type="checkbox" id="93"> Had period sex?
<li> <input type="checkbox" id="94"> Had anal sex?
<li> <input type="checkbox" id="95"> Had a pregnancy scare?
<li> <input type="checkbox" id="96"> Impregnated someone or been impregnated?
<li> <input type="checkbox" id="97"> Paid or been paid for a sexual act?
<li> <input type="checkbox" id="98"> Committed an act of voyeurism?
<li> <input type="checkbox" id="99"> Committed an act of incest?
<li> <input type="checkbox" id="100"> Engaged in bestiality?
</ol>
</div>
<button type="button" id="submit" onClick="calculateScore()">Calculate My Score!</button> <!--pushbutton that activates the score calculation function-->
<button type="button" onClick="clearBoxes()">Refresh Page</button> <!--pushbutton that activates the checkbox clearing function-->
<script>
//function to calculate the user's score
function calculateScore(){
//sets the maximum score as 100
const checkboxes = document.querySelectorAll('input[type="checkbox"]');
let score = 100;
//for each checkbox that is selected, 1 is taken from the total score
checkboxes.forEach((checkbox) => {
if (checkbox.checked){
score--;
}
});
//displays score
const resultDiv = document.getElementById('result');
resultDiv.textContent = `Your purity score is: ${score}`;
resultDiv.style.display = 'block';
}
//function to clear the checkboxes
function clearBoxes(){
//makes it so that the checkboxes being checked is made false
const questions = document.querySelectorAll('input[type = "checkbox"]')
questions.forEach((question) => {
question.checked = false;
});
//clears the screen of checked checkboxes and score
const resultDiv = document.getElementById('result');
resultDiv.style.display = 'none';
}
</script>
</body>
</html>