Exercise library
Exercises
Practical challenges with clear goals, starter code and solutions you can learn from.
2 entries 5 topics
All exercises
Practical challenges with clear goals, starter code and solutions you can learn from.
JavaScript
Array Methods Workout
Five practical tasks that drill map, filter, reduce, sort and flatMap against realistic data.
// brief
Given an array of order objects, use map, filter, reduce, sort and flatMap to answer five business questions without mutating the source data.
JavaScriptArrays
Solve it → HTML/CSS
Responsive Layout Challenge
Build a three-column marketing page that collapses gracefully from desktop to mobile using modern grid and flexbox.
// brief
Recreate the supplied three-column marketing page with CSS grid for the shell and flexbox inside each card, then make it collapse cleanly to a single column on phones.
CSSGrid
Solve it →