Premium
Nested To-Do Outliner
Challenge summary
Build a nested to-do outliner in React: insert anywhere with Enter, nest and un-nest with Tab and Shift+Tab, remove empty items with Backspace, and keep focus on the item that moved.
What you'll practice
- Update a tree immutably with small pure functions for insert, indent, outdent and remove.
- Render nested lists with one recursive function.
- Move focus to an element that re-rendered somewhere else, by id.
- Take Tab for a shortcut and still give keyboard users a way out.
What Premium unlocks
Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion.
Free related practice
Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.
Premium is $24 a month or $99 a year, less in many countries.