JSFiddle - React, Tailwind, and code Playground

by bhayden1

HTML

<div id="showMe">
I'm here all the time
</div>

<div id="hideMe">
I'll be here in 5!
</div>

CSS

#showMe, #hideMe {
 width: 200px;
height: 100px;
 border: solid 1px black;  
margin-bottom: 5px;    
}

JavaScript

$(document).ready(function(){
    var hiddenDiv = $("#hideMe");
    var show = function() {
            hiddenDiv.fadeIn();
    };

hiddenDiv.hide();
 setTimeout(show, 5000);   
        
});