Problem with copy code from brackets to the codepen


#1

Hello,
I’m working on the Randome Quote machine
At first I started it on the brackets editor
here is coode what I did
codepen

On the brackets it’s run well but on the codepen it didn’t
Maybe somebody know what I’m doing wrong?


#2

There’s primarily one issue, if you open the JS console of the browser you should see it. You’re trying to fetch http content from a https site. However even if you try to fetch over https you will probably encounter issues as the cert for the site you’re trying to fetch from seems to be incorrect for that domain.


#3

Ok, thanks
I’m trying to solve it