Ordered and Unordered lists.
When you have a list of items in which the order is not significant.
This can be changed within the CSS.
Using an ordered list would be necessary when the order of the listed items is significant. If the items can be arbitrarily shifted around, then the list can be unordered. Ordered list examples could be driving directions, instruction for constructing something, a recipe, etc. Some examples of an unordered list may be a grocery list, books someone wants to read, a to do list, etc.
It can be done in the opening aligator:
<ol type=”i”>
<ol start=”7”>
The Box Model.
The story is about the main character (Content) and her bestie (Padding) and paddings mom (Margin). Content and Padding are just little girls, so Padding is always around Content and Margin is always in the background to make sure they don’t get lost.
2.List and describe the four parts of an HTML elements box as referred to by the box model.
Arrays. Operators and Expressions. Conditionals. Loops.
Strings, numbers, objects, even other arrays.
The people array is vaild JavaScript. If you wanted to reference, say, everyone’s age it would look like this:
–>console.log(people[1]);
const people = [[‘pete’, 32, ‘librarian’, null], [‘Smith’, 40, ‘accountant’, ‘fishing:hiking:rock_climbing’], [‘bill’, null, ‘artist’, null]];
Assignment-
x = f() means x = f()
Addition Assignment-
x += f() means x = x + f()
Left Shift Assignment-
x «= f() means x = x « f()
Bitwise And Assignment-
x &= f() means x = x & f()
Logical OR Assignment-
x | =f() means x | (x = f()) |
let a = 10; let b = ‘dog’; let c = false;
// evaluate this (a + c) + b;
10dog
It basically just concatinates the string with the number.
if the condition of it being before noon is met, then the response of “good morning” could be provided.
If the website utilizes user names or passwords, that would be accomplished by using a loop.