JSFiddle - React, Tailwind, and code Playground

by Mingtao Sun

HTML

<h1>Creating New Elements</h1>
<div id="newButton"></div>

JavaScript

$(function () {
    var newButton = $("<button>New</button>");
    $('#newButton').append(newButton);
});