HTML
Data Types + Variables
Operators
Functions
Conditional Statements
CSS
100

HTML stands for this

What is Hyper Text Markup Language

100

The keyword used to create a new variable

What is var

100

Name 3 arithmetic operators

+ - * / %

100

How would you call this function?

greet();

100

What is the first keyword of a conditional statement?

if

100

What does CSS stand for?

Cascading Style Sheets

200

HTML is responsible for _______ and ______

What is Structure and Content

200

Identify the data types of the following variables

name is a string, age is a number, and canDrive is a boolean

200

What data type do Comparison Operators return?

Boolean

200



Identify the Parameters and Arguments.

num1 and num2 are the parameters, 5 and 3 are the arguments
200

What keyword should you use to complete this chain?

else

200
What tags do we use to add CSS to an HTML file? Where do they go?

<style> </style> and they go in the <head>

300

The ____ tags contain all information necessary to build the website but is NOT visible. 

The _____ tags contain all visible elements.

What is <head> and <body>

300

What is the result of this code?

50 is printed to the console


300

What is the assignment operator?

=

300

What is returned by this function call?

What is -1

300

What operator belongs in the blank statement to get the console to log "wahoo!"?

>=, ===, <=

300

The term for p and #blueText is ______ while the term for color: blue; is ______

Selector and Property

400
Open jsbin and create a header (size 1) and a paragraph below. Content can be anything you choose.

<h1> I'm a header </h1>

<p> I'm a paragraph </p>

400

What is the value given to a variable that is declared but not initialized?

var myValue;

undefined

400

You are given a number called n.

What do we know about n if (n % 2 === 1) is true?

It is an odd number

400

What is printed to the console by this code? Explain.

Nothing because there is no function call!

400

For what whole number values of b will the console log "awww yeee"?

4 and under

400

What are the 2 ways that we can select elements other than by tag name? How are they different?

By class and id. class groups together elements while ids are unique.

500

What is the attribute that specifies the location of an image for an <img> tag?

src
500

What is the naming convention used for naming variables / How does it work?

Camel Case. The first letter is lowercase and every other word after is uppercase.

500

What is the value of bool?

False

500

Explain the purpose of the return keyword for a function? What happens if a function doesn't have this keyword?

It determines the value produced by a function when that function is called. If no return value is specified it returns undefined.

500

What is the name for everything contained within Curly Braces { }

What is a code block

500


What would the selector be to style the elements with class="text" be? What about the element with id="content"?

.text and #content