Khan Academy Wiki
Challenge: Recipe Card
Recipe-card
Description
Challenge Name: Challenge: Recipe Card
Section(s) Intro to JS
Steps: 3

Challenge: Recipe Card is a programming challenge in the Intro to JS course. This challenge practices making and using objects to store data.

Steps[]

There are three steps in this challenge:

  1. Change the recipe: This step asks users to change the title and ingredients to one of their favorite recipes.
  2. Make the code an object: This step asks users to convert the variables for the recipe into an object.
  3. Change the text commands: This step asks users to change the text commands so they display data from the object.
Recipe-card

The end result of Challenge: Recipe Card

If users get stuck[]

If users get stuck, they should:

  • Pay attention to Oh Noes and the error messages.
  • Go back to the "Intro to Objects" tutorial.

Up next[]

Challenge: Picture Painter