Skip to content

Commit bd4eeb9

Browse files
committed
Update
1 parent 95bcafc commit bd4eeb9

File tree

4 files changed

+196
-23
lines changed

4 files changed

+196
-23
lines changed

public/css/main.css

+17-5
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,25 @@ button:active {
8787
grid-template-columns: repeat(5, 1fr);
8888
}
8989

90-
.gridbtn {
91-
width: 100%;
92-
height: 90px;
93-
background-color: darkblue;
94-
font-size: 2em;
90+
@media screen and (orientation: landscape) {
91+
.gridbtn {
92+
width: 100%;
93+
height: 90px;
94+
background-color: darkblue;
95+
font-size: 1.5em;
96+
}
9597
}
9698

99+
@media screen and (orientation: portrait) {
100+
.gridbtn {
101+
width: 100%;
102+
height: 90px;
103+
background-color: darkblue;
104+
font-size: 18px;
105+
}
106+
}
107+
108+
97109
.gridstyling {
98110
display: grid;
99111
grid-template-rows: [ten] 1fr [fifty] 1fr [onehundred] 1fr [fivehundred] 1fr [onethousand] 1fr;

public/index.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="utf-8">
56
<title>Jeopardy by Morgan Murrah - 8th year edition</title>
@@ -13,6 +14,7 @@
1314
<script src="js/bootstrap.min.js"></script>
1415
<script type="module" src="js/main.js"></script>
1516
</head>
17+
1618
<div>
1719
<div class="navbar-header">
1820
<h3><a class="navbar-brand" href="#">Home - 8th year edition</a></h3>
@@ -94,7 +96,7 @@ <h5>JS</h5>
9496
<h5>UNIX</h5>
9597
</div>
9698
<div class="qcategory-title text-center">
97-
<h5>BONUS</h5>
99+
<h5>PERF</h5>
98100
</div>
99101
</div>
100102

public/js/questions-oldjs.js

+159
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
const questions = [
2+
/* Category 1 Questions */
3+
{
4+
prompt: 'What is the expansion of HTML?',
5+
options: ['Hyper Text Markup Language', 'Holding Text Marker Language', 'Hyperlink Text Management Language', 'Holding Text Modal Language'],
6+
correctAnswer: 'Hyper Text Markup Language',
7+
cashPrize: 10
8+
},
9+
{
10+
prompt: 'What is the current version of HTML?',
11+
options: ['HTMLv5000', 'HTML5', 'HTML2016', 'HTMLC'],
12+
correctAnswer: 'HTML5',
13+
cashPrize: 50
14+
},
15+
{
16+
prompt: 'What language placed in a seperate file has largely replaced use of <style></style> elements?',
17+
options: ['HTMLS Code', 'Style Sheet Language', 'CSS or Central Style Sheet', 'CSS or Cascading Style Sheets'],
18+
correctAnswer: 'CSS or Cascading Style Sheets',
19+
cashPrize: 100
20+
},
21+
{
22+
prompt: 'What new element type introduced in HTML5 is functionally the same as a Div?',
23+
options: ['Semantic Tags', 'PseudoDivs', 'DivisionIDs', 'Division Notation'],
24+
correctAnswer: 'Semantic Tags',
25+
cashPrize: 500
26+
},
27+
{
28+
prompt: 'Browsers do not usually allow cross-site actions but there is one major exception:',
29+
options: ['Get Requests', 'Ping Commands', 'iFrames', 'Git'],
30+
correctAnswer: 'iFrames',
31+
cashPrize: 1000
32+
},
33+
/* Category 2 Questions */
34+
{
35+
prompt: 'What is the expansion of CSS?',
36+
options: ['Cascading Style Sheets', 'Central Style Server', 'Control Set Styles', 'C Safe Server'],
37+
correctAnswer: 'Cascading Style Sheets',
38+
cashPrize: 10
39+
},
40+
{
41+
prompt: 'The "<Span> </Span>" has what as a default property?',
42+
options: ['set-length', 'block', 'timestamp', 'inline'],
43+
correctAnswer: 'inline',
44+
cashPrize: 50
45+
},
46+
{
47+
prompt: 'The * css selector applies to what?',
48+
options: ['Everything', 'Wildcard elements', 'Multiplication Functions', 'Elements with the Id of *'],
49+
correctAnswer: 'Everything',
50+
cashPrize: 100
51+
},
52+
{
53+
prompt: 'What feature recently introduced in CSS 3 addresses issues with "floats"?',
54+
options: ['Center Flagpoints', 'Flexbox', 'Flexpoints', 'FloatV2.0'],
55+
correctAnswer: 'Flexbox',
56+
cashPrize: 500
57+
},
58+
{
59+
prompt: 'CSS is hard. What is one feature that makes it hard compared to other languages? ',
60+
options: ['Lack of Case Examples', 'No Error Output', 'Inclusion of complex variable functions', 'Lack of documentation'],
61+
correctAnswer: 'No Error Output',
62+
cashPrize: 1000
63+
},
64+
/* Category 3 Questions */
65+
{
66+
prompt: 'Which is a coding language or library not actually relevant to modern Javascript?',
67+
options: ['Java', 'ECMAScript', 'Ajax', 'JQuery'],
68+
correctAnswer: 'Java',
69+
cashPrize: 10
70+
},
71+
{
72+
prompt: 'Javascript is usually described as a " "-based language?',
73+
options: ['Relational', 'COBOL', 'Object', 'Directional'],
74+
correctAnswer: 'Object',
75+
cashPrize: 50
76+
},
77+
{
78+
prompt: 'JSON is: ',
79+
options: ['A Javascript engine', 'A text format readable by Javascript', 'A Javascript library', 'A Javascript function'],
80+
correctAnswer: 'A text format readable by Javascript',
81+
cashPrize: 100
82+
},
83+
{
84+
prompt: 'Angular JS is an example of:',
85+
options: ['A JS Framework', 'an open-source, cross-platform runtime environment for developing server-side web applications', 'A JS library', 'An AJAX library'],
86+
correctAnswer: 'A JS Framework',
87+
cashPrize: 500
88+
},
89+
{
90+
prompt: 'Can you change the properties on a const variable?',
91+
options: ['Never', 'Yes, by default', 'Yes, only if $constprop is present', 'Yes, if in an IIFE'],
92+
correctAnswer: 'Yes, by default',
93+
cashPrize: 1000
94+
},
95+
/* Category 4 Questions */
96+
{
97+
prompt: 'The Terminal or command line is an example of a?',
98+
options: ['Interconnected Network', 'Read-Eval-Print-Loop', 'C++ Library Object', 'Skynet'],
99+
correctAnswer: 'Read-Eval-Print-Loop',
100+
cashPrize: 10
101+
},
102+
{
103+
prompt: 'UNIX was added relatively later into what popular propietary operating system?',
104+
options: ['Windows 10', 'Linux Mint', 'Mac OS X', 'Ubuntu'],
105+
correctAnswer: 'Mac OS X',
106+
cashPrize: 50
107+
},
108+
{
109+
prompt: 'The command "man x" would?',
110+
options: ['Bring up the task manager for x', 'Modularize x', 'Attempt to bring up the manual page for x', 'Make x mandatory on startup'],
111+
correctAnswer: 'Attempt to bring up the manual page for x',
112+
cashPrize: 100
113+
},
114+
{
115+
prompt: 'Someone shady on the internet tells you to enter a "rm -rf" command into your terminal on your root directory. Doing this would:',
116+
options: ['Remake your filedomains', 'Rename your file register', 'Recursively rename all your files with the tag rm', 'Irreparably damage your file system'],
117+
correctAnswer: 'Irreparably damage your file system',
118+
cashPrize: 500
119+
},
120+
{
121+
prompt: 'The GREP command allows a user to:',
122+
options: ['Quickly search files for specific items of text', 'Grab-Read-Evaluate-Loop', 'Gauge RAM event parameters', 'Group related events in the processor'],
123+
correctAnswer: 'Quickly search files for specific items of text',
124+
cashPrize: 1000
125+
},
126+
/* Category 5 Questions */
127+
{
128+
prompt: 'Use of "Alert" popup windows is often considered bad practice as browsers and users are hostile to pop-ups. What are the other two native Javascript popup functions?',
129+
options: ['Warning, Confirm', 'Confirm, Refresh', 'Prompt, Confirm', 'Prompt, Notice'],
130+
correctAnswer: 'Prompt, Confirm',
131+
cashPrize: 10
132+
},
133+
{
134+
prompt: 'The man page for Git describes it as:',
135+
options: ['That stupid content tracker', 'A Content Version Tracker', 'General-Index-Tracker', 'A Revision Editor'],
136+
correctAnswer: 'That stupid content tracker',
137+
cashPrize: 50
138+
},
139+
{
140+
prompt: 'What version of what coding language introduced the audio function contained in this page?',
141+
options: ['ECMAScript', 'MP3ML', 'HTML5', 'WavML'],
142+
correctAnswer: 'HTML5',
143+
cashPrize: 100
144+
},
145+
{
146+
prompt: 'Which of these frameworks include support for TypeScript?',
147+
options: ['AngularJS', 'Angular', 'JQuery', 'Whitespace'],
148+
correctAnswer: 'Angular',
149+
cashPrize: 500
150+
},
151+
{
152+
prompt: 'What is an early computer language famous for being designed by Government and Business without much input from computer scientists?',
153+
options: ['MS Office', 'Telnet', 'COBOL', 'C--'],
154+
correctAnswer: 'COBOL',
155+
cashPrize: 1000
156+
}
157+
];
158+
159+
export default questions;

public/js/questions.js

+17-17
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ const questions = [
88
},
99
{
1010
prompt: 'What is the current version of HTML?',
11-
options: ['HTMLv5000', 'HTML5', 'HTML2016', 'HTMLC'],
12-
correctAnswer: 'HTML5',
11+
options: ['HTMLv5000', 'HTML', 'HTML2016', 'HTMLC'],
12+
correctAnswer: 'HTML',
1313
cashPrize: 50
1414
},
1515
{
@@ -125,33 +125,33 @@ const questions = [
125125
},
126126
/* Category 5 Questions */
127127
{
128-
prompt: 'Use of "Alert" popup windows is often considered bad practice as browsers and users are hostile to pop-ups. What are the other two native Javascript popup functions?',
129-
options: ['Warning, Confirm', 'Confirm, Refresh', 'Prompt, Confirm', 'Prompt, Notice'],
130-
correctAnswer: 'Prompt, Confirm',
128+
prompt: 'What is DOMContentLoaded?',
129+
options: ['A meaningless trivial thing', 'A web performance certification', 'A rare error', 'A timing event for performance measurement'],
130+
correctAnswer: 'A timing event for performance measurement',
131131
cashPrize: 10
132132
},
133133
{
134-
prompt: 'The man page for Git describes it as:',
135-
options: ['That stupid content tracker', 'A Content Version Tracker', 'General-Index-Tracker', 'A Revision Editor'],
136-
correctAnswer: 'That stupid content tracker',
134+
prompt: 'What is the best lighthouse score possible?',
135+
options: ['A+', 'Four Hundreds', 'Certified', 'Correct'],
136+
correctAnswer: 'Four Hundreds',
137137
cashPrize: 50
138138
},
139139
{
140-
prompt: 'What version of what coding language introduced the audio function contained in this page?',
141-
options: ['ECMAScript', 'MP3ML', 'HTML5', 'WavML'],
142-
correctAnswer: 'HTML5',
140+
prompt: 'Which of these are not Performance products?',
141+
options: ['SpeedCurve', 'mPulse', 'DebugBear', 'SpinningTree'],
142+
correctAnswer: 'SpinningTree',
143143
cashPrize: 100
144144
},
145145
{
146-
prompt: 'Which of these frameworks include support for TypeScript?',
147-
options: ['AngularJS', 'Angular', 'JQuery', 'Whitespace'],
148-
correctAnswer: 'Angular',
146+
prompt: 'What is not a Core Web Vital?',
147+
options: ['FID', 'INP', 'CLS', 'LCP'],
148+
correctAnswer: 'FID',
149149
cashPrize: 500
150150
},
151151
{
152-
prompt: 'What is an early computer language famous for being designed by Government and Business without much input from computer scientists?',
153-
options: ['MS Office', 'Telnet', 'COBOL', 'C--'],
154-
correctAnswer: 'COBOL',
152+
prompt: 'What is RUM?',
153+
options: ['Real User Monitoring', 'Real User Measurement', 'Real User Maximization', 'Real User Mode'],
154+
correctAnswer: 'Real User Monitoring',
155155
cashPrize: 1000
156156
}
157157
];

0 commit comments

Comments
 (0)