Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

Tell us what’s happening:

I need help on building a pyramid generator - Step 36

Your code so far

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

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

let result = ""


// User Editable Region

for (const "7"; for rows)

// User Editable Region


console.log(result);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 36

what kind of help do you need? what issues are you having with this project?

Welcome to the forum @TALA2

Here is your code.

Here is the example code given in the instructions.

for (const value of iterable) {

}

There are subtle differences, which will cause the code to not run.

Please use the example as a guide to structure your code.

Happy coding