How Long Is a Word?
Count the letters with length.
How Long is a Word? 📏
Hello, measuring master! 🌟 Today we count how many letters are in a word.
We use a magic helper called .length! 🔢
console.log("cat".length)The .length Helper 🪄
Add .length after a string and it counts the letters!
"cat".length is 3 because c-a-t is 3 letters. 🐱
console.log("dog".length)All lessons in this course
- What Is a String?
- Joining Words Together
- How Long Is a Word?
- Making Words SHOUT or whisper