reading-notes

Reading notes about code for my future reference.

View the Project on GitHub

Reading Assignment #3

HTML…Continued….Again?

Ordered and Unordered Lists

You should use an unordered list can be used for a list that is not numbered but rather a list of items!

That property is not defined in HTML, but is accessed via HTML in using the list-style-type property.

ol and ul elements both provide lists in an interchangable fashion. HOWEVER. You cannot make the lists meaningful if it is unordered.

CSS…Continued….Again?

List and describe the four parts of an HTML elements box as referred to by the box model.

JavaScript…Continued….Again?

Yes the people array is a valid Javascript Array, in order to access the data inside. You need to use the indexOf(.) phrase to access individual objects. If not you can use the for and of phrases as shown below.

const birds = ['Parrot', 'Falcon', 'Owl'];for (const bird of birds) {   console.log(bird); } <sub>source: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Arrays

</sub>

definitions from (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators)

A real example would be by providing an bonus to a wage if you did a certain amount of extra hours.

In my personal experience loops have been helpful when trying to get a specific phrase and not allowing the user to proceed unless that condition is met.

Back to Home