JSFiddle - React, Tailwind, and code Playground
by s4ty
HTML
<input id="lectures-btn" type="button" value="button">
CSS
input { width: 100px;}
.hover { color: red; }
JavaScript
jQuery(document).ready(function () {
jQuery("#lectures-btn").hover(
function () {
jQuery(this).addClass("hover");
},
function () {
jQuery(this).removeClass("hover");
}
);
});