ive done everything i could think of but i still dont know whats wrong
Your code so far
let character = 'Hello';
console.log(character);
character = "World";
// User Editable Region
let secondCharacter
let character = "Test";
// 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/129.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 11
Before, the string ‘test’ had been assigned to the secondCharacter variable. In your code, you assigned the string to the character variable. The instructions do not require you to do that.
The instructions want you to reasign the secondCharacter to the variable character
Yes, that’s the way assigning character variable to secondCharacter. But you need remove let keyword and to add a space before = sign and remove the ?, instead place a semicolon.
Note: let keyword should only used once per variable.