JSFiddle - React, Tailwind, and code Playground

by Kevin Faulhaber

HTML

<div id="people_quote"></div>

CSS

div {
    width: 200px;
    height: 200px;
    background-color: yellow;
}

JavaScript

$('#people_quote').on('click', function () {
    $(this).hide(2000, function(){
        //here add the slide animation?
        $(this).show(2000, function(){
        //here add the left animation
        });
    });
});