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/
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.