All jobs / Frontend / web developer / Tooling
Frontend / web developer interview question · 1–3 years
A user reports that the Save button “does nothing”. You can reproduce it in your browser.
How do you use DevTools to find out where it fails?
The strongest answer
Console first for errors, then the Network tab: was a request sent, with what payload, what status and response came back; if nothing was sent, set a breakpoint in the click handler and step through
Why it works
Exactly — split the problem: did the click run, did a request leave, what came back. Each tab answers one of those in seconds.
What a good answer covers
- Observe before you guess.
- Console: any errors?
- Network: request, payload, status, response.
- Breakpoint in the handler if nothing is sent.
Answers that fall short
- Close, but not the strongest: Add console.log lines through the handler, rebuild, and read the output
Logs work, but the Network tab and a breakpoint answer the same questions without editing code or guessing where to log. - Weak: Read through the component’s source code until the mistake becomes visible
Reading code without observing the failure is guessing; reproduce and watch what actually happens. - Red flag: Ask the backend team to check their logs first, since Save is their endpoint
Handing it over before checking whether a request even left the browser wastes another team’s time.
Who gets asked this
More Tooling questions
- You need an API base URL in a Vite app without leaking a private key. What do you do?
- Fast Refresh resets a component's state on every edit. What usually caused it?
- A half-rolled feature is erroring in production. Strongest frontend move?
- What does a bundler such as Webpack or Vite’s production build actually do for you, and what breaks tree…
- Three product teams ship the same header with three bugs. How do you organize frontend platform work?
- A critical vulnerability is published in a package three levels down your dependency tree. The scanner is red…
- Shared packages in a monorepo keep causing diamond-dependency breaks. What do you enforce?
- How do you run a frontend hiring loop that predicts the work, not trivia?