The interview consisted of two practical frontend tasks on an existing React codebase which was a Travel App with nodejs backend, with GitHub Copilot like assistant provided but just for help. It will deny giving direct solution but will help in understanding codebase or any syntax. The focus was on debugging, understanding the existing architecture, and making incremental changes rather than building features from scratch. The main issue which i found was not having access to console. You can't debug by console logging.
Debug and implement an apartment listing sorting feature supporting Price, Rating, and Title sorting. Sorting options will open in modal on sort button press.
The existing implementation contained multiple intentionally introduced bugs, including:
Have to implement state persistence so the selected sorting option remained after navigating away and returning to the page. The project already contained a custom useLocalStorage hook, which could be reused, or candidates could implement their own persistence logic.
Also had to update the UI to display the Sort button only on the homepage, which required understanding the existing routing and component hierarchy.
Need to add accessibility functionality to an existing page.
Required implementing:
The codebase already contained wrapper/provider components for contrast and keyboard accessibility, but they were only partially implemented. The task was to integrate and complete the existing architecture rather than build a new solution from scratch.
The interview primarily evaluated the ability to:
One practical tip: The biggest challenge wasn't implementing features—it was identifying intentionally introduced bugs. Don't assume the existing code is correct or try to guess where the bugs are. First, spend a few minutes understanding the expected flow of the feature (state, handlers, effects, and data flow). Once you know how the feature should work, the incorrect wiring, wrong state updates, and misplaced logic become much easier to spot. You can ask the same to AI assistant as well.