JSFiddle - React, Tailwind, and code Playground

by Ryan Brackett

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();