-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINxJQuestions.html
355 lines (316 loc) · 17.5 KB
/
INxJQuestions.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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
<!DOCTYPE html>
<html>
<head>
<title> Psychology Test</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type ="text/javascript" src="scripts.js"></script>
</head>
<body>
<h3 id="description1">Edit This</h3>
<p id="description2">Edit This</p>
<p id="description3"></p>
<div id="myProgress">
<div id="myBar">
<div id="label">10%</div>
</div>
<canvas id="myCanvas"></canvas>
</div>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="no" type="radio" name="3C" value="4" ></td>
<td><input class="no" type="radio" name="3C" value="3"> </td>
<td><input class="no" type="radio" name="3C" value="2"></td>
<td><input class="no" type="radio" name="3C" value="1"></td>
<td><input class="no" type="radio" name="3C" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="no" type="radio" name="3D" value="4" ></td>
<td><input class="no" type="radio" name="3D" value="3"> </td>
<td><input class="no" type="radio" name="3D" value="2"></td>
<td><input class="no" type="radio" name="3D" value="1"> </td>
<td><input class="no" type="radio" name="3D" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="no" type="radio" name="8C" value="4" ></td>
<td><input class="no" type="radio" name="8C" value="3"> </td>
<td><input class="no" type="radio" name="8C" value="2"></td>
<td><input class="no" type="radio" name="8C" value="1"> </td>
<td><input class="no" type="radio" name="8C" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<table class=set> <tr><th colspan="8" class=question> Edit</th></tr>
<tr> <td class=answer>Edit</td> <td >Agree</td>
<td><input class="radio" type="radio" name="1A" value="4" ></td>
<td><input class="radio" type="radio" name="1A" value="3"> </td>
<td><input class="radio" type="radio" name="1A" value="2"></td>
<td><input class="radio" type="radio" name="1A" value="1"></td>
<td><input class="radio" type="radio" name="1A" value="0"> </td>
<td>Disagree</td> </tr>
<tr> <td class=answer>Edit</td> <td>Agree</td>
<td><input class="radio" type="radio" name="1B" value="4" ></td>
<td><input class="radio" type="radio" name="1B" value="3"> </td>
<td><input class="radio" type="radio" name="1B" value="2"></td>
<td><input class="radio" type="radio" name="1B" value="1"> </td>
<td><input class="radio" type="radio" name="1B" value="0"></td>
<td>Disagree</td></tr>
</table><br>
<br>
<input type="button" value="Submit" onclick="main();">
<script >
change();
quest=[
"How do you feel while taking this test?",
"What setting reflects your personality better?",
"Who was a better person.",
"Which Harry Potter class would you be in?",
"What is your take on arguing with people?",
"Which is a more efficient system of government?",
"You had the choice to press a button to kill a million people, but save a billion.",
"What facial expression resonates more with you?",
"Are you more..",
"What would you rather be remembered for?",
"What type of phrases do you find yourself using when interacting with people generally?",
"Which statement do you agree more regarding intelligence on the individual level, according to your definition of better? ",
];
ans=[
"In all honesty, I could be doing better things but.. ",
"It’s pretty cool that someone wants to get to know me.",
"I am on a cliff, overlooking the sea during a storm, with my shadow being my best company.",
"I am on a hilltop, overlooking a field of puppies and flowers with other people in sight",
"Thomas Jefferson, who truly trusted the people.",
"Alexander Hamilton, who laid the foundations for our economy.",
"They’re both good.",
"They both suck. Thomas had kids with a slave, and Alex did not trust the masses.",
"Gryffindor, known for their courage and chivalry",
"Slytherin, known for their ambition and resourcefulness",
"I like it when someone argues with me. That’s how we get to the best solution possible.",
"I don’t really like arguing. I seek to compromise if that is what it takes.",
"Monarchy with an all-knowing ruler.",
"Democracy with informed people.",
"I will. Worth saving billions for the cost of millions. No other way. It had to be done.",
"A lot of people will still die. I can’t. Not even in the face of armageddon.",
"Smiling",
"Smirking",
"I don’t have facial expressions.",
"Sympathetic, where I can feel someone is sad by absorbing the emotional atmosphere",
"Empathetic, where I can feel someone is sad due to an ability to mirror their experiences upon myself internally",
"Changing the world, and defending righteousness.",
"Understanding the world, and sharing it with people.",
"“I’m sorry to hear about your loss”, “OMG, I love it too! ”, “Yeah, haha, he/she is usually <insert adjective here>”, “You were rude to <insert name here> ”",
"“You might do better if you do this... ”, “What are you trying to accomplish? ”, “Evidently/It is evidenced by”, “Substance over style!”",
"All men are made from the same mold, from which they all can access the same level of understanding on a certain subject with enough effort.",
"Everyone is different. Some people are just better at doing things. Inevitably, this leads to a hierarchization of people based on intelligence.",
];
fillIn(quest, ans);
function main()
{
checkAll(document.getElementsByTagName('input')) ;
var ansT=[];
var ansF=[];
ansT.push(document.querySelector('input[name = "1A"]:checked').value);
ansF.push(document.querySelector('input[name = "1B"]:checked').value);
ansT.push(document.querySelector('input[name = "2A"]:checked').value);
ansF.push(document.querySelector('input[name = "2B"]:checked').value);
ansF.push(document.querySelector('input[name = "3A"]:checked').value);
ansT.push(document.querySelector('input[name = "3B"]:checked').value);
ansT.push(document.querySelector('input[name = "3C"]:checked').value);
ansF.push(document.querySelector('input[name = "3D"]:checked').value);
ansF.push(document.querySelector('input[name = "4A"]:checked').value);
ansT.push(document.querySelector('input[name = "4B"]:checked').value);
ansT.push(document.querySelector('input[name = "5A"]:checked').value);
ansF.push(document.querySelector('input[name = "5B"]:checked').value);
ansT.push(document.querySelector('input[name = "6A"]:checked').value);
ansF.push(document.querySelector('input[name = "6B"]:checked').value);
ansT.push(document.querySelector('input[name = "7A"]:checked').value);
ansF.push(document.querySelector('input[name = "7B"]:checked').value);
ansF.push(document.querySelector('input[name = "8A"]:checked').value);
ansT.push(document.querySelector('input[name = "8B"]:checked').value);
ansT.push(document.querySelector('input[name = "8C"]:checked').value);
ansF.push(document.querySelector('input[name = "9A"]:checked').value);
ansT.push(document.querySelector('input[name = "9B"]:checked').value);
ansT.push(document.querySelector('input[name = "10A"]:checked').value);
ansF.push(document.querySelector('input[name = "10B"]:checked').value);
ansF.push(document.querySelector('input[name = "11A"]:checked').value);
ansT.push(document.querySelector('input[name = "11B"]:checked').value);
ansF.push(document.querySelector('input[name = "12A"]:checked').value);
ansT.push(document.querySelector('input[name = "12B"]:checked').value);
calculating(ansF, "F",ansT, "T", "third");
window.location = "results.html";
}
</script>
</body>
</html>