Trouble with string lenght (solved)

Hello, I don’t understand what I’m doing wrong.
Just following the steps but it throws me that error below.
In the help section says that the solution is exactly what I’ve coded.
Need help here :slight_smile:

Your code so far


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

firstNameLength = firstName.length;

// Setup
var lastNameLength = 0;
var lastName = "Lovelace";

// Only change code below this line.

lastNameLength = lastName.lenght;

----------------------------------------------------

// running tests
lastNameLength should be equal to eight.
You should be getting the length of lastName by using .length like this: lastName.length.
// tests completed

is that the way to spell it?

(also, momentarily free code camp works reliably only on google chrome)