JSFiddle - React, Tailwind, and code Playground

by Addy Osmani

HTML

<div id="test">click me</div>

CSS

html, body {

    height: 100%;

} 


#test { height:100px; width:100px; background-color:red; }

JavaScript

$('#test').bind('click', function()
 {
                   
    $(this).slideUp();                
                    
 });