JSFiddle - React, Tailwind, and code Playground

by paska

HTML

<div id="arr"></div>

JavaScript

var rows = 4,
    cols = 10,
    total = rows * cols;

for(var i = 0; i < cols; i++) {
    for(var j = 0; j < rows; j++) {
        $("#div").append("");
    }
}