Generating random quote machine


Hey Guys I am stuck with this exercise I know the problem in crossorigin issues but I cant figure out any solution please help!!!

Looking at Line 7 of your Javascript, it seems like you have an invalid url there. Also, https://api.forismatic.com/api/1.0 seems to be 404ing. Are you sure that is the correct URL?

I tried to type correct URL but doesn’t work as well
when I hit F12 in console a warning message pop up saying that is a mixed content and deals with crossorigin issues tried to figure out how but doesn;t find any workaround…

I’m getting a 404 in the console, not a cross-origin error. Can you update the code with the correct url so I can see the error you’re talking about?

I don’t understand
but I am using forismatic api
this the url I am using
https://api.forismatic.com/api/1.0