Please Help, My Random Quote Machine project works on my PC but failed to work on CodePen

Please Help, My Random Quote Machine project works on my PC but failed to work on CodePen
0

#1

I don’t know what else to do, the code works perfectly on my local machine but fails to work on codepen, what could be the problem please…
Here is the link: https://codepen.io/tranxcop/pen/oGvbxd/

See the Pen Random Quote Machine by AMADI LUCKY SAMPSON (@tranxcop) on CodePen.


#2

Not seeing any problems with the Codepen project you posted. What happens when you view the Codepen version?


#3

I was about to answer but then noticed he solved the issue (it was just a missing “s” in the http that was giving “mixed-contents” problems).


#4

Thanks a lot for your time, after being frustrated for almost an hour i realised that i typed

"http://api.forismatic.com/api/1.0/"    
instead of : "https://api.forismatic.com/api/1.0/".  I was able to learn how a little error can can be a pain in the *ss.

#5

Yea, you are right… Thanks for being there. I appreciate this forum.