title: Printing an array vertically, within a nested for-loop. JAVASCRIPT
body: <p>I was hoping someone could help me figure out a way to print an array vertically using nested for loops. For example, I have </p>
  
  <p><a href="https://i.stack.imgur.com/Pw746.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pw746.png" alt="enter image description here"></a></p>
  
  <p>to show what it should look like. Everything that is not that array, should be zeroes AND the dimensions of the grid is 10x10 unlike in the image i attached. </p>
  
  <p>I would like to know how to print multiple arrays in one grid(the grid of zeroes)but knowing how to just print one array vertically is help enough! I am using javascript. </p>
  
  <p><a href="https://i.stack.imgur.com/qQC9c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qQC9c.png" alt="enter image description here"></a></p>
  
  <p>I am positive I am going in the wrong direction.</p>