Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Tell us what’s happening:

I tried many way but i am not able solve this step.I think there is an error in this step.Could u please help me to solve this step 12

Your code so far


// User Editable Region

let character = 'Hello';



character = "World";
let secondCharacter;
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/136.0.0.0 Safari/537.36 Edg/136.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 12

Hi there, welcome to the community!

The lesson asks:

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.

However, you still have:

  • The character reassignment
  • The secondCharacter variable declaration

Please remove both of those lines and keep only the actual character value as is.