Tell us what’s happening:
Hello… I dont get the prob. I write the followin in the step 7 pyramid generator, I tried to see others having trouble bug could not identify the problem. This is the code:
let character = ‘Hello’;
console.log(character);
character = “World”;
console.log(character);
But it says that my console.log( ) should come after your reassignment. I dont understand what I am doing wrong. The task is:
now log your character variable to the console again. You should see the sring Hello and World in the console.
Please help?
Your code so far
// User Editable Region
let character = 'Hello';
console.log(character);
character = "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/92.0.4515.131 Safari/537.36 Edg/92.0.902.67
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 7