Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

Not sure what I am doing wrong but I am stuck please help…

Your code so far


// User Editable Region

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

// 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 11

Hello there!

Kindly when taking the lessons, change what is necessary, otherwise, you will run into unnecessary problems.

I suggest you reset the lesson to regain the default code. Then assign Test here secondCharacter = "Test"; assign character.