HTML & CSS
JavaScript
More JS
Week 1
Fun Facts
100

How many levels of header elements are there?

Answer: 6. The header elements go from <h1> to <h6>

100

What is put after every line of code to separate statements?

A semi-colon (;)
100

What were the 2 types of loops we talked about?

While and For

100

What does CSS stand for?

Cascading Style Sheets

100

Which instructor jumped off a 2-story building?

Bill

200

What HTML tag do you use to add internal CSS?

<style>

// CSS Code

</style>

200

What attribute is used in a button tag to call a javaScript function?

onclick

200

What is the function name for a pop up message?

alert

200

What is the name of the HTML element with the tag <a>?

anchor

200

Which 3 big countries made up the axis powers of WWII

Germany, Italy, Japan

300

What is the point of a radio button instead of checkbox?

Create a multiple option form question with only one answer choice allowed

300

What are the TWO ways to write comments in JavaScript? (no points for only one correct)

//COMMENT HERE

AND
/*COMMENT

HERE*/

300

What is the name of the things inside the parentheses of a function declaration?

Parameters

300

What is the difference between an id attribute and the class attribute?

“id” selectors are unique and can be applied to at max 1 HTML element

“class” selectors can be applied to multiple HTML elements

300

What year was the first Shrek movie released?

2001

400

What are the 3 types of buttons? (used with the button attribute type="")

button, submit, reset

400

What do we write in an HTML file to connect a javaScript file to it?

<script src="jsFileName.js"></script>

400

How do you create a function in JavaScript? (give an outline for the code)

function functionName(){

      //code here

}

400

How to make the link open in a new tab?

Add target=”_blank”

400

What year was Rick Astley's hit song "Never Gonna Give You Up" released? (Hint: it was the '80s)

1987

500

Which HTML element does the following CSS statement style?

ul li a:hover {

        color: #0910FA;

}

anchor element inside a list item element of an unordered list, when hovered over

500

What does the following statement do?

document.getElementById("idName").innerHTML = "hi"

Sets the text between tags for the element in the connected HTML file with the id 'IdName' to 'hi'

500

Give at LEAST 3 of the 4 parts of a loops (exact names is not necessary)

Initialization, condition check, statements, increment/decrement

500

What is rgb(16,0,255) in hexadecimal?

#1000FF

500

What is the only country whose flag has purple in it

Dominica

M
e
n
u