My solution doesn't work but I followed all steps and even watched the vid

Tell us what’s happening:
So I watched a video and even re-read the exercise but I really don’t get what I am doing wrong. In the video the guy did the same thing as I did. Also, sorry if I am wasting your time with bad questions but I am a begineer in js and I really want to learn. :slight_smile:

Your code so far

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

// Only change code below this line

lastNameLength = lastName.lenght;

Your browser information:

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

Challenge: Find the Length of a String

Link to the challenge:



You have written lenght instead of length!


Thanks! Have a nice day!

1 Like

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