StaffCoder
React (Typescript)
13 modules · 53 challengesSign up
Modules13 modules · 53 challenges
Forms & Validation is a graduated React path where each question hands the candidate a finished, working UI and asks only for the pure logic behind it - validation, form state, and the rules that gate submission. It builds from per-field validation and submit gating, through dynamic array state and async hooks, up to a context-and-reducer multi-step wizard that composes it all.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Validated Registration Form

Sign up to unlock
—No data yetmedium
About this challenge

Build a registration form whose validation is a pure, testable function. The form UI (fields, inline error slots, submit button) is provided and wired; the validator is missing, so nothing validates and submit is never gated.

Solved in a browser IDE and graded by tests. Sign up to solve

Guest Invite List

Sign up to unlock
—No data yetmedium
About this challenge

Sign up to see what this challenge asks.

Solved in a browser IDE and graded by tests. Sign up to solve

Async Username Availability

Sign up to unlock
—No data yetmedium
About this challenge

During sign-up, check a chosen handle's availability against the backend as the user types. The handle input and the status indicator are provided and wired; the debounced fetch + status logic is missing, so the indicator never changes.

Solved in a browser IDE and graded by tests. Sign up to solve

Multi-Step Wizard

STAR
Solving it completes the module
—No data yeteasy
About this challenge

Build a multi-step signup wizard whose step data is shared through context and validated per step. The wizard shell, the three step screens, and the Next/Back controls are provided and wired; the context reducer, the per-step validators, and the submit aggregator are missing, so navigation never gates and data does not persist.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.