scrimba
Frontend Career Path
Making websites interactive
Challenges
Log out items in an array
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Log out items in an array
Expand for more info
index.js
run
preview
console
let myCourses = ["Learn CSS Animations", "UI Design Fundamentals", "Intro to Clean Code"]

// Create a function that takes a single parameter, an array,
// and logs all the items of the array to the console.
// Call the function while passing in myCourses as an argument
Console
"The 2 highest mountains are Mount Everest, K2"
,
/index.html
-1:17