JSFiddle - React, Tailwind, and code Playground

by hokuma

Babel + JSX

jQuery.ajax({
  url: '/echo/html/',
  type: 'POST',
  data: {html: "<p>Hello world</p>"},
  dataType: 'json'
}).then((data) => {
  console.log(data);
}).fail((error, status, jqXHR) => {
  console.log(error);
  console.log(status);
  console.log(jqXHR);
 });