Use Bracket Notation to Find the First Character in a String help please

Tell us what’s happening:

what am I doing wrong?

Your code so far

// Example
var firstLetterOfFirstName = "";
var firstName = "Ada";

firstLetterOfFirstName = firstName[0];

// Setup
var firstLetterOfLastName = "";
var lastName = "Lovelace";

// Only change code below this line
var firstLetterOfLastName = "lastName";
var lastName = "lastName";
firstLetterOfLastName = lastname[0];

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

Link to the challenge:

JavaScript is case-sensitive, lastName doesn’t equal to lastname :slight_smile:

look at the example given above , You have to do in the same way ,No need to alter ```
firstLetterOfLastName variable

You should be changing this line without adding other lines below it

You have unnecessary things in your code now