Basic JavaScript - Find the Length of a String

Tell us what’s happening:
hello world, sorry if it seems like this should be obvious but i cant see the issue, i at first wasnt using “console.log” then did and still stuck with not a clue what im doing wrong. Plz help!

Your code so far

// Setup
let lastNameLength = 0;
const lastName = "Lovelace";

// Only change code below this line
lastNameLength = lastName.lentgh;
console.log(lastName.lentgh);

Your browser information:

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

Challenge: Basic JavaScript - Find the Length of a String

Link to the challenge:

Did you mean length?

ha, sorry yes, dyslexia wins again

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