JSFiddle - React, Tailwind, and code Playground
HTML
<div id="div1">This message will be shown after 3 seconds</div>
<div id="div2">This message will be there all the time</div>
JavaScript
$("div#div1").hide(0).delay(3000).show(0);
$("div#div2").hide().delay(3000).show();