How many levels of header elements are there?
Answer: 6. The header elements go from <h1> to <h6>
What is put after every line of code to separate statements?
What were the 2 types of loops we talked about?
While and For
What does CSS stand for?
Cascading Style Sheets
Which instructor jumped off a 2-story building?
Bill
What HTML tag do you use to add internal CSS?
<style>
// CSS Code
</style>
What attribute is used in a button tag to call a javaScript function?
onclick
What is the function name for a pop up message?
alert
What is the name of the HTML element with the tag <a>?
anchor
Which 3 big countries made up the axis powers of WWII
Germany, Italy, Japan
What is the point of a radio button instead of checkbox?
Create a multiple option form question with only one answer choice allowed
What are the TWO ways to write comments in JavaScript? (no points for only one correct)
//COMMENT HERE
AND
/*COMMENT
HERE*/
What is the name of the things inside the parentheses of a function declaration?
Parameters
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
What year was the first Shrek movie released?
2001
What are the 3 types of buttons? (used with the button attribute type="")
button, submit, reset
What do we write in an HTML file to connect a javaScript file to it?
<script src="jsFileName.js"></script>
How do you create a function in JavaScript? (give an outline for the code)
function functionName(){
//code here
}
How to make the link open in a new tab?
Add target=”_blank”
What year was Rick Astley's hit song "Never Gonna Give You Up" released? (Hint: it was the '80s)
1987
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
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'
Give at LEAST 3 of the 4 parts of a loops (exact names is not necessary)
Initialization, condition check, statements, increment/decrement
What is rgb(16,0,255) in hexadecimal?
#1000FF
What is the only country whose flag has purple in it
Dominica