Step 33 is confusing me

Hi gents,

I hope everyone is well. I am learning JS and am new to the beast.
I need help…am stuck in STEP 33.

I am missing something, can someone shed some light here?

SS1919

Hello @Siquela!

You have not provided the name of the lesson, you have only provided the step. Also, include your code.

Hi Stephen,

Thanks for your quick reply. But where do I get or see the code?

I guess the lesson is Building Pyramid Generator…

Step 33

You should see the numbers zero through seven printed in your console, one per line. This will serve as the foundation for generating your pyramid.

Replace your log statement with a statement to push i to your rows array.

Copy your code and then paste it between triple backticks.

for (let i = 0; i < count; i = i + 1) {
  rows.push([i]);
}

You do not need the square braces.

Sorted.
Thanks for your time.

1 Like