Question · Vibe coding with Claude Code course · Module 4: Instagram clone

Quiz: A button that does not fetch data

The Try again button in error.tsx only clears the error and redraws the page, without fetching the photos again. What will you see after clicking it when the storm has already passed?

Answer options

  • The gallery, because the message always disappears after the click
  • An empty page without the header
  • A skeleton that pulses forever
  • Still the error message, because the photos were not fetched again

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