Length of string solution

Tell us what’s happening:

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 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0.

Challenge: Find the Length of a String

Link to the challenge:

Do you have a question?

Hi thanks for your concern. I really want to ask a question as a beginner.
what if there are strings of sentences in the code and i want to read the length will it count spaces also. Please i am an absolute biginner,

Yes. It will count spaces too.

thanks Ariel Leslie. please which video can one also watch to understand better.
And again which guideline should i follow to become a full stack developer.

I don’t know of any videos about string length.

I recommend following the freeCodeCamp curriculum.

Thanks . freeCodeCamp curriculum is the best but i understand better a lot by watching videos.