JSFiddle - React, Tailwind, and code Playground

by Afzaal Ahmad Zeeshan

HTML

<div></div>
<button>Button!</button>

JavaScript

$('button').mouseenter (function () {
    $('div').html('I am hovered!');
});
$('button').mouseleave (function () {
    $('div').html('Mouse left the button!');
});