Continuing to break down components of html, css, and javascript
Whenever you are listing items that are do not require in any sequetial order or order of importance.
The bullet style of the list is determined by the CSS.
Unordered lists are meant for items that are grouped together in a meaningless order or sequence. The ordered lists are specifically for items where they need to presented in an order of importance.
You can define how you want the list to start within the opening tag by using the start Attribute ex. < OL start=”4” > Or you can start the order in the CSS
Lets pretend that the content is a princess in a castle. In this fairytale story the princess is the castle is surrounded by a moat. The land between the castle and the moat is what we call padding. If we are prince charming trying to get it we might consider the very edge of the land (where it meets the moat) the border of the castles land. We can then call the moat and its contents the margin. This is what truly seapates the castle from foreign invaders.
Any data can be stored in an array. Strings, numbers or even strings and numbers.
Yes console.log(people);
x = f() -Assigns a value to a variable
x += f() -Performs addition by numerical value or concatenation
x -= f() -Performs subtraction by numerical value or concatenation
x *= f() -Performs multiplication of two operands
x /= f() -Performs division of two operands
let a = 10; let b = ‘dog’; let c = false;
// evaluate this (a + c) + b;
False because C is false. If any part of the expression is false, it is all false.
A simple example might be that if you log onto a website during the day, the website may appear bright with light clouds in the background like the sun is out and at night it appears dark with stars in the background like its a window to the outside world.
When you have to do a task over and over again.