Learn Introductory JavaScript by Building a Pyramid Generator - Step 15

Tell us what’s happening:

Asks to do:- Declare a rows variable and assign it an empty array.
Code:- let row = ;
Response:- You should have a rows variable.
You should use let to declare your rows variable.
You should assign an empty array to your rows variable.

Your code so far


// User Editable Region

let character = 'Hello';
let count = 8;
let row = [];

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 15

Hi there. The variable should be called rows, not row because you will be holding multiple rows in it.

Hope this helps.