Problem With API

Problem With API
0

#1

I am trying to complete the Random Quote Generator task and could not get the API to work, so I tried seeing how others completed this task. After not being able to get the API to work I tried copying the code entirely to see if that works… Still nothing.
Any help would be very apreciated.
My copied code: https://codepen.io/ArmoredCub/pen/aWzEgJ
The code I copied: http://codepen.io/catapixel/pen/LpVEgy
Even if the code and the sources are identical my code still does not work.


#2

Yeah. I’ve see that and don’t know why, too. Btw, I have done my Quote Machine. Hope u can see something useful in mine.


#3

if you look at your links your one is done over https … but other is done over http … so on yours crossorigin is kicking in and not allowing the requests …


#4

Ah, I see now… didn’t notice that at all. Thanks for the help though :slight_smile: