complete-javascript-course icon indicating copy to clipboard operation
complete-javascript-course copied to clipboard

Forkify: cookingTime is Undefined

Open Revoj-a opened this issue 9 months ago • 0 comments

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 }

Revoj-a avatar Feb 25 '25 14:02 Revoj-a