When should you use an unordered list
in your HTML document?
How do you change the bullet style
of unordered list items?
When should you use an ordered list
vs an unordered list
in your HTML document?
Describe two ways you can change the numbers on list items
provided by an ordered list
?
Describe the CSS properties of margin
and padding
as characters in a story. What is their role in a story titled: “The Box Model”?
List and describe the four parts of an HTML elements box as referred to by the box model
.
Arrays. Operators and Expressions. Conditionals. Loops.
What data types
can you store inside of an Array
?
Is the people
array a valid JavaScript array? If so, how can I access the values stored? If not, why?
const people = [['pete', 32, 'librarian', null], ['Smith', 40, 'accountant', 'fishing:hiking:rock_climbing'], ['bill', null, 'artist', null]];
List five shorthand operators for assignment in javascript and describe what they do.
Read the code below and evaluate the last expression
and explain what the result would be and why.
let a = 10;
let b = 'dog';
let c = false;
// evaluate this
(a + c) + b;
Describe a real world example of when a conditional statement should be used in a JavaScript program.
Give an example of when a Loop
is useful in JavaScript.