JSFiddle - React, Tailwind, and code Playground
by heera
HTML
<div id="yourDiv">Your Div</div>
JavaScript
setTimeout(function() {
$("#yourDiv").remove();
}, 5000);
by heera
<div id="yourDiv">Your Div</div>
setTimeout(function() {
$("#yourDiv").remove();
}, 5000);