Before you start
This course assumes JavaScript basics: variables, functions, arrays, objects and arrow functions. You don't need to know HTML well; each lesson explains the HTML it uses. Promises and await, which loading data needs, are introduced on Day 6.
Plan around 90–120 minutes a day. Days 1–6 each have four lessons and an independent checkpoint; Day 7 runs, tests and extends one app and takes about two and a half hours, so split it over two sittings if you like. Predict what a lab will show before you press Run, use hints when stuck, and change the code until you can explain why it works. Completion is saved in this browser only.
Pilot: all seven days are written, and the pacing is still being tested with learners. If something is unclear, please report it.
Day 1 · About 95 minutes
Your First Components
Build a page from components that live in separate files.
- Hello, React15 min · Read, predict and practice
- JSX20 min · Read, predict and practice
- Components20 min · Read, predict and practice
- Components in Files20 min · Read, predict and practice
- Checkpoint: A Course Page20 min · Independent checkpoint
Day 2 · About 90 minutes
Props & Composition
Pass data into components and reuse one component with different inputs.
- Props20 min · Read, predict and practice
- Children15 min · Read, predict and practice
- Showing Things Conditionally20 min · Read, predict and practice
- Styling Components15 min · Read, predict and practice
- Checkpoint: Study Group Cards20 min · Independent checkpoint
Day 3 · About 95 minutes
State & Events
Make a component respond to clicks and remember what happened.
- Responding to Events20 min · Read, predict and practice
- State: A Component's Memory20 min · Read, predict and practice
- State as a Snapshot20 min · Read, predict and practice
- Several Pieces of State15 min · Read, predict and practice
- Checkpoint: A Study Timer20 min · Independent checkpoint
Day 4 · About 90 minutes
Lists & Keys
Show, add and remove items without changing data in place.
- Rendering Lists20 min · Read, predict and practice
- Keys15 min · Read, predict and practice
- Updating Arrays in State20 min · Read, predict and practice
- Updating Objects in State15 min · Read, predict and practice
- Checkpoint: A Reading List20 min · Independent checkpoint
Day 5 · About 110 minutes
Forms & Shared State
Validate input and share state between components.
- Controlled Inputs20 min · Read, predict and practice
- Forms and Validation20 min · Read, predict and practice
- Sharing State Between Components20 min · Read, predict and practice
- Finding Bugs15 min · Read, predict and practice
- Checkpoint: Join the Study Group35 min · Independent checkpoint
Day 6 · About 115 minutes
Effects & Data
Load data with loading and error states, clean up timers, and ignore answers that arrive too late.
- Effects20 min · Read, predict and practice
- Cleaning Up20 min · Read, predict and practice
- Loading Data30 min · Read, predict and practice
- Loading Again When Props Change15 min · Read, predict and practice
- Checkpoint: Topic of the Moment30 min · Independent checkpoint
Day 7 · About 145 minutes
Build Study Tasks
Run, test and extend a complete multi-file React app.
- The Study Tasks App20 min · Read, predict and practice
- Run It on Your Computer30 min · Read, predict and practice
- Project Tests30 min · Read, predict and practice
- Extend It40 min · Read, predict and practice
- On Your Own: Flashcards25 min · Independent checkpoint
- Come Back Later20 min · Return in a few days · extra practice