Learn Introductory JavaScript by Building a Pyramid Generator - Step 37

Tell us what’s happening:

Your loop should now run eight times. Inside the body of the loop, print the value of the i iterator and see what happens.

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

not passing

Your code so far

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

// User Editable Region

for (let i = 0; i < 8; i++) {
  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/136.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 37

HI. Reset the step as you have changed some of the seed code. You only need to add code inside the body of the loop.