Module 13 · In your browser · challenge 1 of 3 in this lesson

validate remembers each id it has seen

A code cell with the real Luau runner grades it. No Studio needed.

Open

Luau
Ctrl Enter runs the cell. Checked by tests

Level 1, Apprentice

Challenge

Fix validate in the dup-fix cell.

Start from
The game at milestone m14 (download)
Check it here
Run the code cell; the challenge completes when it passes. No Studio needed.

Done means

  • validate remembers each id it has seen
  • A repeated id gives one error naming its row and the id field
  • All four assertions in dup-fix pass