JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" id="btnDummy" Value=" Play with me "/>
CSS
body
{
padding: 10px;
}
input
{
font-family: Verdana;
font-size : 18pt;
color : white;
background-color : blue;
}
JavaScript
$(document).ready(function() {
$("#btnDummy").click(function(e) {
alert("click!");
}).mouseover(function(e) {
alert("mouse over!")
}).mouseout(function(e) {
alert("mouse out!")
});
});