Click in order · Vibe coding with Claude Code course · Module 4: Instagram clone
Clicking: Closing the Window with Escape
Click the pieces of the keyboard listener line in order so that the Escape key closes the window:
Items to click
- event.key
- if (
- === "Escape")
- onClose();
You can check the correct answer by solving this task in the CodeWorlds game.