Tell us what’s happening:
I have redone this a few different times now. I am confused if i should be altering the whole string like i did, or do i follow the the example and have both of the character and the secondCharacter assignments. Do i need to restate the character variable of ‘Hello’?
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;
// User Editable Region
secondCharacter = "World";
// 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/126.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 11