JSFiddle - React, Tailwind, and code Playground

by Vladimir Sobolev

JavaScript

var IG_SPONSORS = [1,2,3],
		results = [];

$.each(IG_SPONSORS, function(n, sponsor){
window.requestAnimationFrame(function(){
setTimeout(function(){

	$.getJSON("https://httpbin.org/json", function(json) {
  	results.push(json);
    console.log(json);
    if (results.length == IG_SPONSORS.length) {
    	// done
      console.log(results);
    }
  });

}, n * 333);
});
});