Learn Introductory JavaScript by Building a Pyramid Generator - Step 7

Tell us what’s happening:

Am just not getting it guys what do the instructions really mean

Your code so far


// User Editable Region

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

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 7

Welcome back to the forum @jonathanssengonzi2

Now log your character variable to the console again. You should see the string "Hello" , then the string "World" , in the console.

The challenge is asking you to console.log() the variable again, so that you can see the result after the new assignment.

Please remove the line indicated in the above code block.
You have three console.log()s so will fail the tests.

Happy coding

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