Random quote machin not working in codepen

I have tried my Random quote machine in chrome and it works fine. At first, it was working in codepen too but now it is not loading any quote and I can’t really understand why. This is my pen, thanks for the help/

It’s your API URL that’s not working. I used a different one and it worked fine.

Can you tell me which API you used? Sometimes when i reload my pen it works, I don’t understand how can sometimes work and sometimes don’t.

Your codepen uses https, but API URL is http. Due to security reasons such calls get blocked by browser.

Change https to http in your codepen address.