JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<button id = "theButton" type="button">Click Me!</button>
</body>
JavaScript
$("#theButton").click(function() {
alert( "Handler for .click() called." );
});
<body>
<button id = "theButton" type="button">Click Me!</button>
</body>
$("#theButton").click(function() {
alert( "Handler for .click() called." );
});