Learn Introductory JavaScript by Building a Pyramid Generator - Step 14

Tell us what’s happening:

step 14
Now that you have reviewed declaration and initialization, remove the code you wrote for your review.

Do not remove your character variable.

Your code so far


// User Editable Region



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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 14

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

Hi @sejalyadav122,

You appear to have deleted all of your code.

You need to keep this line.

let character = 'Hello';

The above is the ‘character’ variable they say not to remove.

You could just copy the above code, paste it in, and the test (should) pass.