JSFiddle - React, Tailwind, and code Playground

by isimpledesign

HTML

<div class="log"></div>

JavaScript

var nums = [0,1,2]

for (i=0; i<15; i++){
    
    var topHeight = nums[i] * 35;
    console.log(topHeight);
    
    nums.push(0,1,2);
}