Strings and Text
Create, combine, search, normalize, and safely display text without confusing strings with markup.
Lesson introduction
Strings are immutable sequences of UTF-16 code units. Real text work requires deliberate normalization, interpolation, searching, and display rules—especially when values come from users.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Build a formatter that cleans a learner name and produces a clear progress sentence.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.