DevPath · Learn to code ESPTEN

JavaScript

🔤 Text strings

Everything a user reads is text. Learn to create, combine, and transform strings with template literals and the most useful methods.

What you'll learn

Lessons

Creating strings and template literalsQuotes, concatenation with + and the magic of template literals. Length and access by indexThe length property and how to read a specific character. Methods to transform texttoUpperCase, toLowerCase, includes, slice, replace, split, trim, indexOf.
Practice this module in the app

DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.

Start free in the app →