JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function(){
$.ajax({
url: 'http://www.panoramio.com/wapi/data/get_photos?v=1&key=dummykey&tag=test&offset=0&length=20',
type: 'get',
dataType: 'jsonp',
})
.done(function() {
alert("success");
})
.fail(function() {
alert("error");
})
});