I’m doing the “Build a Random Quote Machine” task. I use a codepen.io as my editor.
I’m trying to retrieve data from http://quotes.stormconsultancy.co.uk/random.json using jQuery getJSON() method.
But the following error happenes: XMLHttpRequest cannot load http://quotes.stormconsultancy.co.uk/random.json. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://s.codepen.io’ is therefore not allowed access.
Could you help please. Thanks in advance.