Learn Introductory JavaScript by Building a Pyramid Generator - Step 34

Tell us what’s happening:

I have tried to solve it. Its not working. I read also myself. Can you just give me a hint pls.

Your code so far

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


// User Editable Region

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


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (iPad; CPU OS 16_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Mobile/15E148 Safari/604.1

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 34

hi there!
why you have modified the assignment?

instructions:
Inside the body of the loop, print the value of the i. you did that right.

1 Like

Thank you for you help sir.

1 Like

it is my pleasure. happy coding.