Click in order · Vibe coding with Claude Code course · Module 14: Pinterest clone

Build: a 404 for a missing pin

Click the elements to build the line that answers with a 404 when the pin does not exist:

Items to click

  • return
  • Response.json(
  • { status: 404 })
  • if (!pin)
  • { error: "No such pin." },

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