Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Tell us what’s happening:

i do not understand for (let i = 0; “second”; “third”) {
// Your loop logic here
}

can sme one help me explain it futher

Your code so far

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


// User Editable Region

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

}

// 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/139.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

What about it do you not understand exactly?

no i did not please explain it futher

I need you to say what you do not understand. I can’t give you the answer as it’s against the rules.

oh igot it now thank you

The challenge is asking you to replace "iteration" with the correct reassignment statement so the loop works. You have to increase i by 1 every time.

1 Like