Challenge: Indexing
Task
Swipe to start coding
- You have an array named colors that contains the following four colors in this exact order:
Red,Green,Blue,Yellow; - Print the first color in the array using
console.log(). - Print the third color in the array using
console.log().
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 58
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.33
Challenge: Indexing
Swipe to show menu
Task
Swipe to start coding
- You have an array named colors that contains the following four colors in this exact order:
Red,Green,Blue,Yellow; - Print the first color in the array using
console.log(). - Print the third color in the array using
console.log().
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 58
single