Controlled Inputs
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
- easy
- Pro
You're building a sign-up form in React with a name field and a newsletter checkbox, and the submit button should only be enabled once the name isn't empty. Explain how you'd wire the inputs to state, and what a controlled input is.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.