So I have been doing a bit of web design for a few years, so I honestly whipped through the HTML & CSS, but now I’m in JS and per usual I’m stuck on loops!
I just completed the Nesting for Loops challenge, but I honestly don’t understand how I got it nor how it works.
I was referred to a visual guide and here it is… https://goo.gl/LclMEP
This really just doesn’t make sense how the value of product jumps up. Especially on steps 20 to 21. It goes from 6 to 24 while i and j are values of 1
Further I still don’t know if I fully understand the line for ( var j = 0; j < arr[i].length; j++ )
Any insight or help would be greatly appreciated! I don’t feel like I can move onto the next lesson until I fully grasp this as it all builds off of the previous lessons.