Dashboard
0 / 23 completed
Phase 2 · Code lab
Write code. Run tests. Fix what fails.
Work through realistic JavaScript tasks in the browser. Your code runs in an isolated sandbox, and the test results show exactly what passed or failed.
JavaScriptMid-level
3 testsFilter active users
Fix a filter that unexpectedly marks every user as active.
- Return only users whose active property is true.
- Do not mutate the input array or any user object.
- Keep the original order of the matching users.
Ctrl Space autocomplete · · Tab indent
Hints
Reveal a hint when you need a nudge, without giving away the solution.