JSFiddle - React, Tailwind, and code Playground

HTML

<h1>Success</h1>
<p id="success"></p>
<h1>Error</h1>
<p id="error"></p>

JavaScript

$.ajaxSetup({
  url: 'http://api.flickr.com/services/feeds/photos_public.gne?tags=jquery&format=json&jsoncallback=?',
});

$.ajax({
    dataType: "json",
    success: function(data, textStatus, xhr) {
        $("#success")
            .append("textStatus : " + textStatus)
            .append("<br />xhr : " + typeof(xhr))
            .append("<br />data : " + data);
    }, 
    error: function(xhr, textStatus, errorThrown) {
        $("#error")
            .append("textStatus : " + textStatus)
            .append("<br />xhr : " + typeof(xhr))
            .append("<br />errorThrown : " + errorThrown);
    }   
});