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);
});
by Mingtao Sun
<h1>Creating New Elements</h1>
<div id="newButton"></div>
$(function () {
var newButton = $("<button>New</button>");
$('#newButton').append(newButton);
});