Tell us what’s happening:
const recipe3 = {
name: “Vegetable Stir Fry”,
ingredients: [“broccoli”, “carrot”, “bell pepper”],
cookingTime= 15,
totalIngredients: null,
difficultyLevel: “”
};
when are check my result it keep showing “You should create an object named recipe3”.
Your code so far
const recipes = [];
const recipe1 = {
name: "Spaghetti Carbonara",
ingredients: ["spaghetti", "Parmesan cheese", "pancetta", "black pepper"],
cookingTime: 22,
totalIngredients: null,
difficultyLevel: ""
};
const recipe2 = {
name: "Chicken Curry",
ingredients: ["chicken breast", "coconut milk", "curry powder", "onion", "garlic"],
cookingTime: 42,
totalIngredients: null,
difficultyLevel: ""
};
// User Editable Region
const recipe3 = {
name: "Vegetable Stir Fry",
ingredients: ["broccoli", "carrot", "bell pepper"],
cookingTime= 15,
totalIngredients: null,
difficultyLevel: ""
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Build a Recipe Tracker - Step 5