JSFiddle - React, Tailwind, and code Playground
HTML
<div id="result">
</div>
JavaScript
$.ajax('/echo/json', {
method: 'POST',
success: (xhr, ) => {
console.log('SUCCES');
$('#result').html(result);
},
error: (err) => {
console.log('FAILT');
$('#result').html(err);
},
})
console.log('VERSION', $.fn.jquery)