complete-javascript-course
complete-javascript-course copied to clipboard
Forkify: cookingTime is Undefined
Why the cookingTime always renders undefined? I tried every id's but it always undefine.
recipe = { id: recipe.id, title: recipe.title, publisher: recipe.publisher, sourceUrl: recipe.source_url, image: recipe.image_url, servings: recipe.servings, cookingTime: recipe.cookingTime, ingredients: recipe.ingredients, };
${
recipe.cookingTime
}