JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" id="my_button" value="Go" />

JavaScript

jQuery(document).ready(function($) {

    $('#my_button').click(function() {

        alert('i was clicked');

    });
});