Javascript » Data » Loop through an Array
👉 User Story:
As a developer
Given an array pre-filled with some items
I should be able to render this list as an HTML unordered list
You can try things out directly on this pen:
https://codepen.io/marcopeg/pen/PooaBzz
✅ Proposed Solution:
Don't run this unless you gave a very good effort to solve it yourself!
In this second solution we achieve exactly the same result with a different syntax.