Handle a Form Submit
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
A sign-up form posts its data with JavaScript, but every time you press the button the whole page reloads and the request is lost. Explain why, and how you'd handle the submission properly, including pressing Enter and showing validation errors.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.