Question · Vibe coding with Claude Code course · Module 14: Pinterest clone
Quiz: Owner actions on the server
The board page shows the Delete button only to the owner. Is that enough?
Answer options
- Yes: without the button a board cannot be deleted
- Yes, if the button also gets the disabled attribute
- No: a DELETE request can be sent without going through the page, so the route checks the owner again
- No: the button also has to be hidden with a hidden class in CSS
You can check the correct answer by solving this task in the CodeWorlds game.