JSFiddle - React, Tailwind, and code Playground

by chovy

HTML

<form method="get" action="">
  <input type="text" value="" />
  <button>foo</button>
</form>

JavaScript

$("button").click(function(e){
  alert('button clicked');
});