JSFiddle - React, Tailwind, and code Playground

JavaScript

$(document).ready(function () {
    var tot = 30;
    (function request(i){
        if(i === tot) return;
        $.get('/echo/html/?'+i, function (data) {
            console.log("success");
        }).always(function() { request(++i) });
    })(0);
});