Binary
HTML Intro
JavaScript
CSS
Surprise
100

What are the two symbols/numbers used in binary?

0 and 1

100

True or False: Every HTML element must have two tags.

False. Ex: <br>

While most HTML elements have a beginning and end tag, some elements like <br> do NOT have two tags.

100

What are the three types of variables?

Numbers, strings, and boolean

100

True or False: CSS MUST be in a separate .css file

False. CSS attributes can be embedded in side of HTML tags. Ex: <p style="color:blue"></p>

100

True or False: <ul> creates an ordered list

False

200

Is the number 101000100100010 even or odd?

Even (rightmost digit is 0)

200

How many levels of header elements are there?

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

200

How would we declare a variable called "age"?

var age;

200

What does CSS stand for?

Cascading Style Sheets

200

What is the largest header element?

<h1>

300

Convert 1001 from binary to decimal

9

300

What does HTML stand for?

Hypertext Markup Language


300

What does == check for?

Equality (are the two values the same?)

300

What are the three ways CSS can be added to HTML?

Inline: style attribute

Internal: Using <style> element in head

External: Using <link> element

300

What is the <a> tag and where is it used?

Anchor tag; it is used when adding a link 

400

Convert 101101 from binary to decimal

45

400

How do you write HTML comments?

<!-- Comment →

400

How can we modify an if-else statement if we want to have more than 2 conditions?

Add an else-if branch

400

What is the code we would use to attach an external CSS file to an HTML file?

<link href="file.css" type="text/css" rel="stylesheet">

400

Why is the alt attribute important?

The alt attribute displays text in case the image does not load and helps with accessibility features.

500

What does 0 and 1 represent for computers?

0 represents off and 1 represents on

Also accepted: 0 is false, 1 is true

500

What are the 5 essential tags in a .html file?

DOCTYPE, html, head, title, and body

500

What is the naming convention we use when naming variables in JavaScript? (hint: deals with capitalization)

Camel Case
500

How do we access a class using CSS?

.className {

     color: #000000;

}


500

What attribute do we use to make a link open in a new tab?

target=”_blank”

M
e
n
u