Click in order · Vibe coding with Claude Code course · Module 4: Instagram clone

Clicking: Window Only for a Selected Photo

Click the pieces in order so that the preview window is drawn only when a photo is selected:

Items to click

  • <PhotoModal photo={selected}
  • {selected
  • &&
  • onClose={() => setSelected(null)} />}

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