Tell us what’s happening:
Receiving an error on Step 3, but the code works in my IDE (VS Code).
Your code so far
const recipes = [];
const recipe1 = {
name: 'Spaghetti Carbonara',
ingredients: ['spaghetti', 'Parmesan cheese', 'pancetta', 'black pepper'],
ratings: [4, 5, 4, 5],
};
// User Editable Region
recipe1.cookingTime = 22;
recipe1.totalIngredients = null;
recipe1.difficultyLevel = "";
recipe1.averageRating = null;
// User Editable Region
};
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Build a Recipe Tracker - Step 3