JSFiddle - React, Tailwind, and code Playground
HTML
<div id='result'></div>
JavaScript
var length = 10;
var url = window.location;
for (i=0 ; i<length ; i++) {
$.get(url, function(result) {
$("#result").append(i + '<br/>');
});
}