Click in order · Vibe coding with Claude Code course · Module 7: LinkedIn clone

Sorting: Reading validation errors

Arrange reading the field errors from the validation result: z.flattenError(result.error).fieldErrors

Items to click

  • (
  • z.flattenError
  • .fieldErrors
  • )
  • result.error

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