Read these articles before you proceed:
-
https://www.freecodecamp.org/news/javascript-foreach-how-to-loop-through-an-array-in-js/
-
https://www.freecodecamp.org/news/javascript-map-reduce-and-filter-explained-with-examples/
-
https://www.freecodecamp.org/news/4-main-differences-between-foreach-and-map/
Take a look at these slides.
Next watch this workshop.
Try it out! - using the index.html
, pizza-list.js
and the pizza.js
file.