Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

Tell us what’s happening:

Tried everything just can’t get it right, ive tried google and youtube

Your code so far

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

// User Editable Region

secondCharacter = "World";
let character = "one";
let secondcharacter = "two"
second = first;



// User Editable Region

console.log(secondCharacter);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

syntax errors: when you declare something with let, you can’t declare it again, you have let character twice

reset the step, you just need to do this:

To see this in action, change your secondCharacter assignment from "Test" to your character variable.

I read it wrong, thank you!