Can you please help how to append Divs side by side using javascript using loops, here two columns and 6 rows. I tried the following code,
for(var i=0;i<2;i++) {
for(var j=0;j<5;j++) {
document.write('<div style="width:200px;height=200px;border:1px solid red;float:left" />')+"\n";
}
}
document.write().