Khan Academy or Scratch Wikia
Advertisement
Challenge movie reviews

Challenge: Movie Reviews is a challenge in the Objects section of Khan Academy's Intro to JS section. This challenge practices using arrays of objects. There are three steps worth 2100 points.

Steps[]

There are three steps in this challenge:

Challenge Movie review
  1. Display the Review - The user is first asked to modify the program so that it displays the review for a movie in smaller text below the movie title.  The initial provided array contains one movie title and one review.
  2. Add a second movie - The user is now asked to add a second movie (title and review) to the array.
  3. Display them all - Finally, the user is asked to display the two movie titles in the array, with the review for each again appearing below the title in smaller text.

Hints[]

  1. Most of the skills necessary for this challenge can be reviewed by re-watching the "Arrays of Objects" talk-through if needed.

☀ All Khan Academy content is available for free at www.khanacademy.org

Advertisement