Learn Introductory JavaScript by Building a Pyramid Generator - Step 9

Tell us what’s happening:

I am stuck here. Error: 'You should assign the string “Test” to your secondCharacter variable.

Your code so far


// User Editable Region

let character = 'Hello';
console.log(character);
character = 'World';
let secondCharacter;
let uninitialized;
secondCharacter= "Test";
variable= '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/126.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 9

This shouldn’t be there. Also, you should profpet back the console log that was there instead?

Reset the lesson so you have the code back to what you had.

You added 2 lines of code you didn’t need to add, one of which used text from the example.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.