HTML-CSS-JavaScript-projects-for-beginners
HTML-CSS-JavaScript-projects-for-beginners copied to clipboard
Recipe Book App- view recipe link has a bug
The link 'VIEW RECIPE' has a bug. It leads to an Error.
clicking the view recipe links leads to the following errors.
The Error is due to the recipe object which has two source url keys
- sourceUrl
- spoonacularSourceUrl
Originally the recipe object was linked to sourceUrl key with the link to www.foodista.com/recipe/... as value. This seems to be not working and is showing up the error as shown above in the screen shot.
But when linked to the spoonacularSourceUr key , the links are rendering properly.