JSFiddle - React, Tailwind, and code Playground HTML <div>test</div> JavaScript $("div").delay(3000).queue(function() { $(this).remove(); });