JSFiddle - React, Tailwind, and code Playground
HTML
<div id="badge"></div>
JavaScript
$.ajax({
type: 'GET',
url: 'http://localhost/map.json',
dataType: 'jsonp',
success: function(json) {
var result = '<h3>' + json.country.name + '</h3>' +
$('#badge').append(result);
}
});