JSFiddle - React, Tailwind, and code Playground

by David Thomas

HTML

<div> Hello World! </div>

JavaScript

$('div').css('background-color','red').hover(
    function(){
        $(this).css('background-color','blue');
    },
    function(){
        $(this).css('background-color','red');
    });