Find the Length of a String

Hi please help me

My code

var firstNameLength = 0;
var lastNameLength = 8;
var firstName = "Ada";

firstNameLength = firstName.length;

var lastName = "Lovelace";

// Only change code below this line.

lastName=lastName.lenght;




Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/find-the-length-of-a-string

lastName=lastName.lenght;
is not equal to
lastName=lastName.length;

just a little typo

Check your spelling! Happens more often than you’d think :wink:

Hi there,
Guys, I need some help from you.
I have tried this and doesn’t work. Would you help me on this issue and telling me what i’m doing wrongly?

// Example
var firstNameLength = 0;
var firstName = "Ada";

firstNameLength = firstName.length;

// Setup
var lastNameLength = 8;
var lastName = "LastName";

// Only change code below this line.
var lastNameLength = 8;
var lastName = "lastName";
lastNameLength = lastName.length;