Please Have o look at my code, it doesn’t work. I’ve read everything and tried different variants, but I couldn’t find the solution of the problem. What should I do to improve my code?
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
// User Editable Region
let character=secondCharacter;
console.log(character);
// User Editable Region
console.log(secondCharacter);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 11
In order to answer your question I should say that they ask to change value ‘character’. I’ve already tried doing this, but unfortunately it doesn’t work either. I don’t know why?
If you read the sentence again, what value is the one they said to change FROM and what value is the one to change TO.
(I capitalized the words so I can highlight them as a clue for you)