JSFiddle - React, Tailwind, and code Playground

by Town

HTML

<div id="target"></div>

JavaScript

$('<button></button>', { type: 'reset', id: 'reset', name: 'reset' })
    .text('No workee').appendTo($('#target'));
$('<button type="reset" id="reset" name="reset">Workee</button>').appendTo($('#target'));