JSFiddle - React, Tailwind, and code Playground

JavaScript

// 1. Data at http://codio.io/hugolpz/Cat-is-smart/data/dict.json
// 2. I want to load it.
// 3. I want to display it : get hand on it and use it.
$.getJSON( "http://codio.io/hugolpz/Cat-is-smart/data/dict.json", function( json ) {
  console.log("This step is fired."); // OR NOT !
  alert( "JSON Data: " + JSON.stringify(json) );
 });

$.ajax({
        url: "http://codio.io/hugolpz/Cat-is-smart/data/dict.json",
        dataType: 'json',
        success: function(json2) {
            alert( "JSON Data: " + JSON.stringify(json2) );
        }
});

// Doesn't work for same domain as well.
//What do I wrong ? How to fix it.