Click in order · Vibe coding with Claude Code course · Module 8: Slack clone

Sorting: The query before the cursor

Arrange the line from mentionQuery that looks for @ right before the cursor: const match = QUERY.exec(text.slice(0, caret));

Items to click

  • const match =
  • text.slice(0, caret)
  • );
  • QUERY.exec(

You can check the correct answer by solving this task in the CodeWorlds game.