sahandghavidel / HTML-CSS-JavaScript-projects-for-beginners

Learn how to build simple, responsive websites using HTML, CSS, and JavaScript
https://100jsprojects.com
MIT License
1.31k stars 628 forks source link

Recipe Book App- view recipe link has a bug #40

Open vasanthgx opened 4 months ago

vasanthgx commented 4 months ago

The link 'VIEW RECIPE' has a bug. It leads to an Error.

image

clicking the view recipe links leads to the following errors.

image

image


The Error is due to the recipe object which has two source url keys

image

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.

mathewalexKerala commented 3 months ago

can I work on this .

vasanthgx commented 3 months ago

can I work on this .

I have already fixed it. Waiting for my PR to be merged.