Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

this is not working …>

Your code so far


// User Editable Region

let character = 'hello';

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

1 Like

hi and welcome to the forum!

What you have written is a variable declaration plus an initialization.
What they wanted is just the declaration part.
So just remove everything from the equal sign to the hello string.

2 Likes