My reading notes
When should you use an unordered list in your HTML document?
How do you change the bullet style of unordered list items?
type
attribute or the nesting levelWhen should you use an ordered list vs an unorder list in your HTML document?
Describe two ways you can change the numbers on list items provided by an ordered list?
<ol type='1'>
2.<ol type='a'>
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.
Content box this is where content is displayed
Padding box this surronds the content
Border box wraps the padding
Margin box is the outer most layer
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?
List five shorthand operators for assignment in javascript and describe what they do.
Assingnment =
assings value to variable
Addition +=
adds value to the right opperand to a variable
Subtraction -=
subtracts the value of the right operand from a variable
Division /=
devides the value
Remainder %=
devides the value and assigns the remainder
Read the code below and evaluate the last expression and explain what the result would be and why.
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.