StaffCoder
React (Typescript)
13 modules · 53 challengesSign up
Modules13 modules · 53 challenges
In this module, you’ll learn how to use state to track changing data inside components and make your UI respond to user actions. You’ll also explore interactivity - handling events like clicks, typing, and form submissions -to bring your components to life.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

5 challenges

Interactive Star Rating

Sign up to unlock
0%0 of 1 solvedeasy
About this challenge

Build a 5-star rating widget with hover-preview and click-to-commit behavior that displays the committed rating as text.

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

Poll Voting Widget

Sign up to unlock
0%0 of 1 solvedeasy
About this challenge

Implement poll voting logic that updates per-option counts, total votes, and derived percentages in real time.

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

Quiz with Score

Sign up to unlock
0%0 of 1 solvedeasy
About this challenge

Build a one-question-at-a-time multiple-choice quiz that scores answers against a correct index and shows a final tally with restart.

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

Bounded Counter

Sign up to unlock
0%0 of 1 solvedeasy
About this challenge

Wire up a min/max/step-constrained quantity stepper with disabled buttons at bounds and an onChange callback to the parent.

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

Master-Detail Selector

STAR
Solving it completes the module
0%0 of 1 solvedeasy
About this challenge

Coordinate a list and detail panel by lifting selection state up to a parent so a sibling detail view stays in sync.

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.