Hi, I’ve been working on the random quote generator project trying to use the Forismatic API. I can’t get quotes to load no matter what I do, and I can’t help but feel like I’m missing something. I’ve been looking around at different ways of formatting the ajax request, but at this point I think I’ve run out of things I can do without asking for help.
Here is the link to my project on CodePen: https://codepen.io/j-peters-93/pen/qqwEVa
Thank you in advance for your help.
Besides the syntax errors, you’re just hitting the usual mixed content error:
Blocked loading mixed active content “http://api.forismatic.com/api/1.0/?&callback=jQuery31007336965565203347_1483050134132&method=getQuote&lang=en&format=jsonp&_=1483050134133”
Okay, so is this the url I should use instead of the one I’m using now?
No, look up the error.