Mission 37 / 52• Text Objects - Quotes

Quotes Review

Reviewing string text object mastery across single and double quoted literals.

Quotes review summary

  • di" / di'empty string content
  • ci" / ci'replace string content
  • da" / ca"operate on quotes and contents together
1
const apiEndpoint = "https://example.com/api";
2
const method = 'POST';

Experiment with `ci"` and `ci'` on both variables above.

Now it's your turn!

0 / 7 tasks complete0.0s / 38s par0 / 58 par

Practice this lesson's commands. Each task checks your technique and the result, not just your cursor position. Take your time.

Task 1: Empty title while keeping double quotes with di".

Expected result
const title = "";
Show hint

Use di" from inside the string.

1
const title = "obsolete";
jkscroll•ggGtop/bottom•Tabnext example•Enterstart•qstop•Ctrl+kCtrl+jprev/next