What are the two symbols/numbers used in binary?
0 and 1
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.
What are the three types of variables?
Numbers, strings, and boolean
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>
True or False: <ul> creates an ordered list
False
Is the number 101000100100010 even or odd?
Even (rightmost digit is 0)
How many levels of header elements are there?
Answer: 6. The header elements go from <h1> to <h6>
How would we declare a variable called "age"?
var age;
What does CSS stand for?
Cascading Style Sheets
What is the largest header element?
<h1>
Convert 1001 from binary to decimal
9
What does HTML stand for?
What does == check for?
Equality (are the two values the same?)
What are the three ways CSS can be added to HTML?
Inline: style attribute
Internal: Using <style> element in head
External: Using <link> element
What is the <a> tag and where is it used?
Anchor tag; it is used when adding a link
Convert 101101 from binary to decimal
45
How do you write HTML comments?
<!-- Comment →
How can we modify an if-else statement if we want to have more than 2 conditions?
Add an else-if branch
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">
Why is the alt attribute important?
The alt attribute displays text in case the image does not load and helps with accessibility features.
What does 0 and 1 represent for computers?
0 represents off and 1 represents on
Also accepted: 0 is false, 1 is true
What are the 5 essential tags in a .html file?
DOCTYPE, html, head, title, and body
What is the naming convention we use when naming variables in JavaScript? (hint: deals with capitalization)
How do we access a class using CSS?
.className {
color: #000000;
}
What attribute do we use to make a link open in a new tab?
target=”_blank”