JSFiddle - React, Tailwind, and code Playground
HTML
<p>
This
</p>
<p>
That
</p>
JavaScript
function positionCards() {
var $cards = $('p');
var time = 500;
$cards.each(function() {
setTimeout( function(){
console.log($(this).html())
}, time)
time += 500;
});
};
positionCards();