JSFiddle - React, Tailwind, and code Playground

HTML

<div id="Container"></div>

JavaScript

var _images = ["http://www.i-love-cats.com/software/Adorable-Cats-Screensaver.jpg", "http://blogs.trb.com/features/lifestyle/pets/blog/two-tabby-cats%5B1%5D.jpg", "http://www.ucdavis.edu/images/features_level2/0208/cat1.jpg"];
var _index = 0;

window.onload = function() {
    LoadImage();
};

function LoadImage() {
    //stop condition:
    if (_index >= _images.length)
        return false;
    
    var url = _images[_index];
    var img = new Image();
    img.src = url;
    img.onload = function() {
        _index++;
        LoadImage();
    };
    
    document.getElementById("Container").appendChild(img);
}