Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- recipes = {
- recipe1: {
- title: "Apple Pie",
- ingredients: ["10 apples", "sugar", "butter"],
- instructions: ["Peel apples", "add sugar", "bake"]
- },
- recipe2: {
- title: "Ham Sandwich",
- ingredients: ["ham", "cheese", "bread"],
- instructions: ["put ham and cheese in bread", "eat the sandwich"]
- }
- }
- //trying to determine how to loop through each recipe to display each individually
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement