What are my missing on the code

what are missing on this code?

Your code so far

// example
var firstLetterOfLastName = "";
var firstName = "Ada";

firstLetterOfFirstName = firstName[0];

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

// Only change code below this line
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/92.0.4515.131 Safari/537.36 Edg/92.0.902.67

Challenge: Use Bracket Notation to Find the First Character in a String

Link to the challenge:

Hello :slight_smile:!

The case! You changed the first letter of lastName.

JavaScript does distinguish between lower and upper case letters, hence thisVariable is not the same as THISVariable or ThisVariable so, be careful when you write code :slight_smile:.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.