Lesson 3 of 13 · React basics
State with useState: events and controlled forms
Objective
Make the booking page of Riad MasterLinux interactive: a guest counter, a date form and a price calculated live. You learn to give a component a memory with useState and to drive a form from that state.
This lesson is part of the full course
Unlock React: Building Modern User Interfaces to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.