Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

You should assign the value of the character variable to your secondCharacter variable. Don’t forget your semicolon

Your code so far

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

// User Editable Region

secondCharacter = "character";
console.log(character);

// 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/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Hi there!
character is a variable, not a string