JSFiddle - React, Tailwind, and code Playground
HTML
<div class="box">hello test </div>
JavaScript
$(".box").hover(
function () {
// this is mouseover
alert("mouseover")
},
function () {
// this is mouse out
alert("mouseout")
}
);