Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

how can l remove the console.log and also remove the secondCharacter variable but leave the character initialization unchanged

Your code so far


// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

l have figured it out thanks.

1 Like

How? These instructions confuse me entirely

Hi there!

If you have any questions about the specific curiculam challenge step, create your own topic using Help button. That button appears below the challenge editor, when you attempt the wrong code more than three times.