Learn Introductory JavaScript by Building a Pyramid Generator - Step 3

Tell us what’s happening:

What’s wrong with this code? It seems the same as whats asked for…

Your code so far


// User Editable Region

let hello = "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/130.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 3

Hi there!

The instructions is asking you: Initialize your character variable by assigning it the value “Hello” during its declaration.

But you have initialized the variable hello by assigning the value "Hello" to it. You have changed the character variable to hello

Thank you Hasan appreciate. It worked

1 Like