Learn Introductory JavaScript by Building a Pyramid Generator - Step 33

Tell us what’s happening:

I can’t figure out why my code doesn’t work. What am I missing?

Your code so far

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


// User Editable Region

for ("iterator", "condition", "iteration") {

}


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 33

Hi there!

You added comma’s, instead you need semicolon; in the for loop condition. Replace that comma’s with semicolon

2 Likes

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