Learn Introductory JavaScript by Building a Pyramid Generator - Step 33

Tell us what’s happening:

Can someone please help me with this step? Step 33.
The hint says that the second component should be the string “condition”. I can’t figure out what I’m doing wrong.
This is what I wrote
for (“iterator”, “condition”, “iteration”) {}

Your code so far

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


// User Editable Region


for ("iterator","condition","iterarion") {}


// 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/133.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 33

the statements in the for loop need to be separated by semicolons not commas, please review the example

1 Like

Hi and welcome to the forum!
You also have a typo here: "iterarion"
Happy coding!

1 Like