Tell us what’s happening:
i have tried enough times and with the help of ai as well, I couldn’t do it ,
Your code so far
// User Editable Region
// Call the functions with recipe1 data
let recipe1AverageRating = getAverageRating(recipe1.ratings);
let recipe1TotalIngredients = getTotalIngredients(recipe1.ingredients);
let recipe1DifficultyLevel = getDifficultyLevel(recipe1);
// Log results to verify
console.log(recipe1AverageRating);
console.log(recipe1TotalIngredients);
console.log(recipe1DifficultyLevel);
// 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/142.0.0.0 Safari/537.36 Edg/142.0.0.0
Challenge Information:
Build a Recipe Tracker - Step 10