Changing case
Three keys change the case of the selected text:
~ switches the case of every letter — upper becomes lower and lower
becomes upper
` (the backtick) makes everything lowercase
Alt-` makes everything uppercase
They act on the selection and nothing else, so a bare cursor changes one
character, w or e changes a word, and x changes a whole line. The
selection stays put afterwards, so if you picked the wrong key you can press
another one straight away.
Work through the checklist below: one line for each key.
1 2 3
Switch the case of the first line with ~ Press x to select the line, then ~ — every letter flips.
Lowercase the second line with the backtick key Move down a line, press x to select it, then the backtick key (top left of most keyboards).
Uppercase the third line with Alt and the backtick key Move down a line, press x to select it, then hold Alt (Option on a Mac) and press the backtick key.
Next: Lowercase the second line with the backtick key
Next: Uppercase the third line with Alt and the backtick key
Last one — goal check runs when it's done
Nice work!
Up next: Incrementing and decrementing.