Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

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.

Your code so far


// User Editable Region

let character = 'Hello';
console.log(character);
econdcharacter = "World";
console.log(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/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Hello and welcome to our forum.

Your code is throwing this error.

You should not have any console.log() statements in your code.

Just do as it asks, get rid of the console.log statements.