Demo case file · Technical
Travel booking platform
Frontend Engineer
This is a demo case file: a realistic example written from commonly known interview formats, not a real candidate's interview experience.
Questions asked
- Build an autocomplete search box in plain JavaScript that fetches suggestions from an API as the user types.
- Responses sometimes arrive out of order and show results for an older query. How do you prevent that?
- Make the component fully usable with a keyboard and a screen reader.
What to expect
Coded in a real browser, no frameworks allowed. They expected debouncing, cancelling stale requests, and caching repeated queries. Accessibility was not optional — they asked which ARIA roles I'd use and tested arrow keys, Enter and Escape themselves.
Practice this exact interview.
Mockd plays the interviewer live, using these questions and notes, then grades your answers.
Start a practice session Browse all case files