Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Tell us what’s happening:

I can’t continue to my next step I have already wrote the code but it is not continuing for (let i = 0; i < 5; i=i+1) {
console.log(i)

Your code so far

const character = "#";
const count = 8;
const rows = [];

// User Editable Region

for (let i = 0; i < 5; i=i+1) {
  console.log(i)
}
 

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Hi there!

The test is specific about the challenge instructions.
The instructions asked you: Use that syntax to replace your “iteration” string with a reassignment statement that increases i by one.

But you also changed the for loop condition. Reset the challenge and follow the instructions.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.