3 dots below a letter

Why this is happening?
Everytime I am trying to type in the code word “lenght” , the " L " letter gets 3 dots below it and because of this my code doesen’t work.
*3 dots are not apearing only if I copy paste the code from a source

Your code so far

// Setup
let lastNameLength = 0;
const 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/103.0.5060.114 Safari/537.36

Challenge: Find the Length of a String

Link to the challenge:

That is not a valid property name. Look closely at the instructions. You have a typo.

it should be “length” , how I didn’t saw that.
Thank you very much! Next time I will be more carefull.

Attention to detail while programming is a must. JavaScript is case-sensitive which makes paying attention to the exact case of something you write can be the difference between something working or failing.

1 Like