JSFiddle - React, Tailwind, and code Playground

by Alen Doe

HTML

<div class="d1"></div>
<div class="d2"></div>

CSS

.d1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background-color: black;
    z-index: 2;
}
.d2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background-color: yellow;
    z-index: 1;
}

JavaScript

var proj_1 = ['p_001','p_002','p_003'];

var i = ['img_1','img_2'];

var proj_2 = [009,i,008];

//console.log(proj_2);

for (var i = 0; i < proj_2.length; i++) {
	console.log(proj_2);
};