JSFiddle - React, Tailwind, and code Playground
HTML
This script tries to load the search request using ajax.
<br>Since HTML5, this request will fail because the <b>Access-Control-Allow-Origin</b> is not present on the requested source.
JavaScript
$.get( "http://openlibrary.org/search.json?author=tolkien" )
.done(function() { alert("Success"); })
.fail(function() {alert("Failed"); });