The company directory's search only matches exact capitalisation, the department filter wipes the search, nothing tells you when no one matches, errors leave a blank page and one contractor's display name injects HTML. Make search, filters, empty and error states work, safely.
This is the practice version. Assessments always use a variant you have never seen.
People keep messaging HR to ask for colleagues' extensions because the directory search 'never finds anyone'. The directory (public/) calls GET /api/people?q=&dept= (server/routes.js). Run
node server.js and open the preview.
/?q=lin&dept=Engineering opens with both controls filled and the matching
results.#count reads "N people" (or "1 person"); when nothing matches, show #empty.#error (role="alert") and a #retry button.Keep the element ids. Public tests: node --test test/.
| Ship a Reliable Checkout Form + Orders APIFrontend & UITiers: JuniorEditorial | Medium | UI & full-stack | 40 min | Calibrating |
| Specify Bearing Fits and a Tolerance Stack-Up on a Gearbox Shaft DrawingCAD & engineeringTiers: Mid-levelEditorial | Hard | File deliverable | 45 min | Calibrating |
| Clean Up a Hard-Coded Sales Quote CalculatorFinance & analyticsTiers: FresherEditorial | Easy | File deliverable | 30 min | Calibrating |