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 630 forks source link

Fix: Corrected the view recipe link with the correct source-url from … #41

Open vasanthgx opened 4 months ago

vasanthgx commented 4 months ago

As mentioned in issue#40, the VIEW RECIPE link was not rendering properly as the recipe object was linked to 'sourceUrl', which was leading to the error.

image

The recipe object from the API has another key called 'spoonacularSourceUrl' which is linked to the correct recipe link. Screenshot 2024-07-14 182814