Goal: In the Looping lesson, we learned:
As we can see, looping is an incredibly important programming concept. Now it's time to practice. We'll begin with two looping exercises in the console and then move on to creating a small project.
Array.prototype.forEach()to loop through an array called "kittens", what should we call the parameter in the
Complete both of the exercises listed below.
console.log()a greeting to each friend in the array.
Element.prepend()methods to create and add elements to your webpage.
Lesson 19 of 50
Last updated more than 3 months ago.