Learn Introductory JavaScript by Building a Pyramid Generator - Step 35

Tell us what’s happening:

hello guys
can you plz help me with step 35 of jv script
best regard,

Your code so far

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


// User Editable Region

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



// User Editable Region

Your browser information:

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 35

1 Like

Hello,
It is almost correct just remove the ; after the statement i = i + 1

2 Likes

i also tried this but this was also wrong :thinking:
for (let i = 0; i < count; i = i +1 ) {console.log(“i”);}

i just passed this part, the issue is with the “iteration” part, every other thing seems correct,

for my code i used an increment i++, try that, i hope it helps

1 Like

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