Random Quote Generator / Codepen issues

I’d really love to use $.getJSON instead of building an array to finish this project.

I can’t get .json files to load in Codepen. The only one that works is located here: https://codepen.io/jamesbarnett/pen/oHsvr

Why, why can’t I load any .json files?

Using their getJSON example here: https://blog.codepen.io/2013/09/23/ajax-codepen/

And nothing.

Can you post a link to the project that’s not working? And when you say, ‘…load any .json files’, do you mean you’re trying to load a file that’s on your filesystem with a ‘.json’ extension?

I couldn’t load anything not hosted on Codepen. I finally got it to work by hosting my .js file with them.

Here is a link to the work in progress: https://codepen.io/loreguerra/pen/kXobob