I cant get the length to be 8 everything has a check on it except the length part

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

// Only change code below this line

lastNameLength = lastName.length.

Your browser information:

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

Challenge: Find the Length of a String

Link to the challenge:

See that period after lastName.length. ? That might be your issue.

1 Like

yep it is my issue thank you

1 Like

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