JSFiddle - React, Tailwind, and code Playground

by adeneo

HTML

<div id="t" onClick="g()"></div>

CSS

#t
{
    background-color:#009900;
        width:150px;
        height:40px;
    
}

JavaScript

function g()
{
$("#t").hide().show("fade", {},  {duration:1200}).effect("bounce", { times:3 },  { duration:400}).dequeue();

}