Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Tell us what’s happening:

Tried many different things and still getting same result. Don’t assign value “Test” to secondCharacter. please help

Your code so far

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

// User Editable Region

secondCharacter = "Test";
secondCharacter = 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 11

Did you check the console for an error message?

Yes it says Character is not defined

I thought Character was assigned string “Hello” and “World” and by assigning the value of Character to secondCharacter

JavaScript and quite a few other languages are case-sensitive. As a result character and Character would refer to two different variables.

Believe though case-sensitivity is for the best.

This post brought to you by “Ö” (U+00d6, a.k.a. LATIN CAPITAL LETTER O WITH DIAERESIS)

Yes I just went back and realized I was messing that up. Thanks for the help and quick response!