JSFiddle - React, Tailwind, and code Playground

HTML

<input type='submit' id='something' value='accept me'/>

JavaScript

$( document ).ready(function() {
    $("#something").click(function(){
    alert("hi");
    //doesnt work 
});
});