Find the Length of a String help!?

Tell us what’s happening:
to be honest i can not understand where is my mistake! can somebody point please??

Your code so far


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

firstNameLength = firstName.length;

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

// Only change code below this line.

lastNameLength = lastName.length;

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/find-the-length-of-a-string

1 Like
var lastNameLength = 0;

you should leave that
and only change the lines below

Only change code below this line.
3 Likes

Thank you for all your help!!!

1 Like