JSFiddle - React, Tailwind, and code Playground

by Andy Novocin

HTML

<p id="aa">BANANA</p>

CSS

#aa {
    color: red;
}

JavaScript

$("#aa").hover(function(){
    this.oldId = $(this).attr('id');
    $(this).removeAttr('id');
}, function(){
    $(this).attr('id', this.oldId);   
});