JSFiddle - React, Tailwind, and code Playground
by thvinic
HTML
<input id="button" type="button" value="Click"><br>
<div id="comprar" hidden>First Name : <input type="text" /></div><br>
JavaScript
$("#button").click(function() {
$("#comprar").show();
});