Learn Introductory JavaScript by Building a Pyramid Generator - Step 31

Tell us what’s happening:

please help me with the iteration
i mean the iteration

Your code so far

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


// User Editable Region

for (let i = i+1; i <= count+1; i+1) {

}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 31

Tell us what’s happening:

please whats wrong with iteration

Your code so far

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


// User Editable Region

for (let i = i + 1; i < count; i++) {
    // let i = i + 1;
    // console.log(i);
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 31

Hi @Edwin-Kofi-Nyarkoh !

Welcome to the forum!

I would suggest resetting the lesson because you changed some things you weren’t supposed to.

Once you reset it, then you will want to add to i like you were trying to do here

but you wrote it in the wrong place. Make sure to update the place they told you in the directions

once you do that, then it will pass

hope that helps