Challenge: Favorite Fruits | |
---|---|
Description | |
Challenge Name: | Challenge: Favorite Fruits |
Section(s) | Intro to JS |
Steps: | 3 |
Challenge: Favorite Fruits is a programming challenge in the Intro to JS course. This challenge practices using arrays to store data.
Steps[]
There are three steps in this challenge:
- Make an array: This step asks users to make an array of their top three favorite fruits.
- Display the data: This step asks users to use the
text
command to display their favorite fruits from the array. - Make a header: This step asks users to make a header that says "My top 3 favorite fruits".
If users get stuck[]
If users get stuck, they should:
- Pay attention to Oh Noes and the error messages.
- Go back and review the "Arrays" tutorial.