HTML and CSS
Javascript
Computer Trivia
Holiday Trivia
100

What is the difference between a class and an id?

Classes allow you to integrate css with an element. Ids allow you to integrate JavaScript.

100

Where does css have to go in order to integrate it with Javascript?

in-line, in the tag of the element

100

What was the most downloaded app of the 2010s?

Facebook

100

Both gingerbread houses and candy canes were almost certainly introduced to the U.S. by immigrants from what country?

Germany

200

What are the three places that css can go in your code?

A separate css document, in-line css, and in the <style> section in head.

200

What line would you write to edit the width of an image with the id of "taco" to 32px?

document.getElementById("taco").style.width = '32px'

200

One gigabyte is equal to how many megabytes?

1024

200

What country has a tradition of eating KFC on Christmas day?

Japan

300

What tags do you need in order to add JavaScript to your code?

<script></script>

300

What needs to added INTO A TAG to activate a function called "cats()" when the space key is pressed?

<body> should become <body onkeydown="cats()">

300

What is the meaning of ‘HTTP’ that is used in website addresses?

Hypertext transfer protocol

300

When was the first Hallmark Card celebrating Kwanzaa sold?

1992

400

How many curly brackets would be in a code with 3 functions, 2 if statements, and a while loop?

12 brackets

400

Give two example of methods to make an image disappear after another image goes near it?

set width and height to 0, .remove, set z-index to back

400

Which video game console released in 2006 pioneered the use of motion controls in its gameplay?

Nintendo Wii

400

Which oil is traditionally used to light the menorah?

Olive oil

500

What is the difference between position absolute and position relative?

Absolute position uses the border of the website as a reference and relative position has a relationship to other elements.

500

What CSS is necessary to put in style to make a div that moves with the arrow keys?

width, height, background-color, position: absolute, top, left

500

Doug Engelbart was the inventor of what computer accessory? The first one was made from wood.

Mouse

500

What does the word "Hanukkah" translate to?

"Inauguration" in English and "Dedication" in Hebrew