JSFiddle - React, Tailwind, and code Playground
by makingthings
HTML
<div id="box"></div>
JavaScript
var num = 10; // the number of images; needs to be adjusted accordingly
$('#box').append('<ul></ul>');
for (var i = 1; i <= num; i++) {
$('#box ul').append(
$('<li> <img src="http://lorempixum.com/400/200/sports/' + i + '" />')
);
}