Nested Loops

Hi Coders,

So In the nested loop lesson, I wrote the following code, and as you can see logging it to the console proves it works, however, I still don’t get the green the 3’d green tick.

Can someone spot where I missed?

That code should work, can you provide a link and paste your code so someone can verify.

I will advice though that formatting is incredibly essential to writing manageable and readable code. Whether you double space or indent, it really goes a long way to make it more readable (and to keep easier track of curly brackets). It will save you tons of time down the line :slight_smile: