Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Tell us what’s happening:

Hi can somebody help me.
So this is the instruction:
You are now ready to declare your next variable. Remove both console.log statements, and the character reassignment.

Also remove your secondCharacter variable, but leave the character initialization unchanged.

The result says "Your character variable should have value “Hello”
I feel like im doing this right but why it said that i did it wrong? ;-;

Your code so far


// User Editable Region

let character = "Hello";
let secondCharacter = ;


// 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/128.0.0.0 Safari/537.36 OPR/114.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Hi there and welcome to our community!

Get rid of this and your code should pass.
You should only have the initial character initialisation remaining.

2 Likes