The html element for for ordered list is (ol). Ordered list is an list of items typically rendered as a number list.
The ul is the html element that represents an unoredered list of items usually listed as a bulleted list.
Everything in CSS has a box around it it. Learning to understand these boxes is the key to being able to create more complicated layouts with CSS or just to align items with other items. Boxes have an inner display type and outer display type.
If a box has an outer display type of block then: The box will break onto a new line, The width and height properties are respected, padding margin and border will cause other elements to be pushed away from the box.
If a box has an outer display type of inline, then: The box will not break onto a new line. The width and height properties will not apply. Vertical padding, margins, and borders will apply but will not cause other inline boxes to move away from the box
Arrays are described as list like objects; theyre basically single objects that contain multiple values stored in a list.
Arrays consists of square brackets and items that are seperated by commas. FOR example: const shopping = [‘bread’ , ‘milk’ , ‘cheese’ , ‘hummus’ , ‘noodles’]; console.log(shopping)
HTML QUESTIONS
CSS Questions
Margin is like moving boxes around. Like i split 2 boexs in order to put some space in the middle. I added padding in between the boxes for when i put something there.
Content is the text and images appear, padding clears an around the content, border goes around the padding and content, and margin clears an area outisde the border.
JavaScript Question