Strings are text values
Strings store words and sentences, which is why they appear in so many beginner code examples.
A plain-language introduction to the three beginner value types you will see constantly in JavaScript.
Strings store words and sentences, which is why they appear in so many beginner code examples.
Numbers help with calculations. Booleans help with simple yes-or-no checks.
Noticing the difference between text and numbers prevents a lot of beginner confusion later.