JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
Array Challenge 1.2. Age Ratings
Share
Explore
Gallery
Array Challenge 1.2. Age Ratings
Array Challenge 1.2. Age Ratings
The Task
Code Clips
The Task
Activity: Array Challenge: 1.2 Age Rating 🐞
Start Here
Use the age ratings in the
test data box
below. Create appropriate array for storing the test data and display all elements of the array.
Explore the data in the
test data box
below and decide what type of data is going to be stored. Be careful with this one!
Create and populate appropriate array using the values in the
test data box
.
Refer to the
code clips
below to help you.
Display all elements of the array.
Test Data
# Age rating data
PG, 15, 15, 12, 15, 15, 15, 15
Good luck! 🍀
Sample output
PG
15
15
12
15
15
15
15
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.