Challenge: Recipe Card is a challenge in the Objects section of Khan Academy's Intro to JS section. This challenge practices using Objects with three steps worth 1500 points.
Steps[]
There are three steps in this challenge:
- Edit the provided recipe - The user is asked to change the provided recipe to one of their favorite recipes. The initial recipe is setup using three separate variables.
- Convert the Variables to an Object - The user is asked to transform the code for the recipe to use an object, rather than separate variables.
- Change the Text Commands - The user is asked to modify the text commands to display the information now stored as properties of the Object.
☀ All Khan Academy content is available for free at: www.khanacademy.org