JSFiddle - React, Tailwind, and code Playground

by TheNix

HTML

<div id="boton">Hello</div>

CSS

#boton {
width:200px;
height:30px;
border:1px solid;
background-color:#cccccc; }

#boton.botoncla {
    background-color:#FF0000; }

JavaScript

$(document).ready(function(){
  $("#boton").hover(function(){
    $(this).addClass("botoncla");
  }, function(){
    $(this).removeClass("botoncla");
 });
});