JSFiddle - React, Tailwind, and code Playground
HTML
<div id='lesson'>
</div>
CSS
#lesson{
display:none;
height:100px;
width:100px;
background-color:red;
}
JavaScript
$(document).ready(function(){
$("#lesson").fadeOut(2000);
});