Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. recipes = {
  2. recipe1: {
  3. title: "Apple Pie",
  4. ingredients: ["10 apples", "sugar", "butter"],
  5. instructions: ["Peel apples", "add sugar", "bake"]
  6. },
  7. recipe2: {
  8. title: "Ham Sandwich",
  9. ingredients: ["ham", "cheese", "bread"],
  10. instructions: ["put ham and cheese in bread", "eat the sandwich"]
  11. }
  12. }
  13.  
  14. //trying to determine how to loop through each recipe to display each individually
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement