JSFiddle - React, Tailwind, and code Playground

HTML

<div class="content first" data-time="200">1 </div>
<div class="content second" data-time="300"> 2</div>
<div class="content third" data-time="400">3 </div>
<div class="content fourth" data-time="500">4 </div>

JavaScript

$(".content" ).each(function(){
        var $this = $(this);
        var time = $(this).attr("data-time");
        setTimeout(function() {            
            $this.hide("slow");
        }, time);
    });