Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

I have tried to do exactly as instructed but the code is incorrect. I have to assign the value of character to second character variable.
Therefore I need help with that.

Your code so far

let character = 'Hello';
console.log(character);
character = "World";

// User Editable Region

let secondCharacter;
secondCharacter = "Hello";
console.log(secondCharacter);

// User Editable Region

console.log(secondCharacter);

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

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Hi there!

You need to assign character variable itself, not it’s value.