Mission 36 / 52• Text Objects - Quotes

Change Around Quotes

`ca"` deletes the quotes and content, letting you replace a hardcoded string with a variable or function call.

Change around quotes

  • ca"change around double quotes and enter insert mode
  • ca'change around single quotes and enter insert mode
1
const message = "placeholder text";

Type `ca"` and type `getMessage()`.

Now it's your turn!

  1. Navigate to each green target across the code snippet.
  2. Use the motions and techniques learned in this lesson to land accurately on each target.
  3. See how fast you can complete 10 targets.
0/10
1
const message = "placeholder text";
NORMAL
00:00
NextCtrl+jQuotes Review