Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Why must a server validate a form even when native HTML and JavaScript validation already run in the browser?" on CodeWiki (https://codewiki.com/practice/mcq/frontend/checkpoint-2/checkpoint-2-output/).
Context (verbatim from the page):
"""
Why must a server validate a form even when native HTML and JavaScript validation already run in the browser?
Clients can bypass or alter browser checks before sending a request.
Server validation automatically gives every input an accessible label.
The browser never enforces `required`, `min`, or `pattern`.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Frontend. Where you are unsure, say so.