Mock interview

Frontend developer interview: the 8 questions you’ll be asked

In a frontend interview, passing the coding exercise isn’t enough: you have to explain your choices. Why that component split, how you fixed that performance problem, what you do for accessibility. The AI agent starts from the projects on your CV and runs the spoken part of the interview, out loud, digging into every answer that stays too general.

Take the frontend developer interviewUpload your CV: in three seconds, Léa shows you the lines a recruiter will pick apart. Free, no card.

What the recruiter checks

  • Solid JavaScript fundamentals: async, scope, browser rendering.
  • Architecture choices you can justify, beyond the framework.
  • Care for the user: perceived performance, accessibility, error states.
  • How you work with design, the back end and code review.

The questions you’ll be asked

  1. 01Walk me through a recent project you’re proud of.

    What they’re looking for: The problem, your exact role, the technical choices, and what you’d do differently.

    Example of a good answerI rebuilt the checkout flow of an e-commerce site in React and TypeScript, over four months. I was the only frontend developer, with a designer and two back-end developers. I split the flow into lazy-loaded steps and reworked all the form validation: the abandonment rate went from 68% to 59%. If I did it again, I’d write the end-to-end tests from day one: we had two regressions on payment before we added them.
  2. 02How would you organise state in a medium-sized app?

    What they’re looking for: Separate server state, local state and shared state, and say when a dedicated tool is worth it.

    Example of a good answerFirst I separate three things: data that comes from the server, state that belongs to one component, and what’s genuinely shared. On my last project, I moved server data to TanStack Query, which handles caching and refetching, and that emptied most of our Redux store. The rest fitted in local state and a context for the logged-in user. I only add a dedicated tool when several distant screens modify the same data.
  3. 03A page takes four seconds to load. Where do you start?

    What they’re looking for: Measure before fixing: the tools, the metrics (LCP, INP), then the likely causes.

    Example of a good answerI measure first, on a throttled mobile profile, with Lighthouse and the Performance tab, then I look at real-user Web Vitals if we collect them. On a recent case, LCP was 4.2 seconds: the hero image weighed 1.8 MB and loaded after a large JavaScript bundle. I served it as AVIF at the right dimensions, preloaded it, and split the bundle by route. LCP dropped to 1.9 seconds, and I checked it against field data the following week.
  4. 04How do you make a component accessible?

    What they’re looking for: Semantic HTML, keyboard, focus, labels — with an example you actually shipped.

    Example of a good answerI start from the right HTML element: a real button rather than a clickable div, a label tied to every field. On a dropdown menu I shipped last year, I handled the keyboard with the arrow keys, Escape to close, and focus returning to the trigger button. I added aria-expanded, tested with VoiceOver, and plugged axe into CI for the simple regressions. What taught me the most was navigating without a mouse myself for half an hour.
  5. 05What’s the difference between server-side and client-side rendering?

    What they’re looking for: The concrete trade-offs: first paint, SEO, interactivity, infrastructure cost.

    Example of a good answerServer rendering sends a page that’s already filled in: first paint is faster and search engines read the content directly. Client rendering sends a shell plus JavaScript: it’s simpler to host, but the user waits longer on mobile. On my last Next.js project, I rendered the product pages on the server for SEO, and kept the customer area client-side, since it sits behind a login. The price of server rendering is a server to run and hydration errors to watch for.
  6. 06How do you test your frontend code?

    What they’re looking for: What you test and at which level — unit, component, end-to-end — and why not everything.

    Example of a good answerI test mostly at component level, with Testing Library, simulating what the user does rather than internal details. Calculation functions, like prices or dates, get unit tests. For critical journeys, login and payment, I have end-to-end tests with Playwright, run on every pull request. I don’t test everything end to end, because those tests are slow and flaky: I keep them for what would be expensive to break.
  7. 07Tell me about a technical disagreement with a colleague.

    What they’re looking for: The arguments on both sides, how you settled it, and what you took away.

    Example of a good answerA colleague wanted to migrate all our CSS to Tailwind in one go; I was worried it would block the team for weeks. His arguments held up: more consistency, less dead CSS. We settled it by migrating a single screen, the dashboard, and measuring the time spent and the CSS weight. The migration was faster than I’d expected, so we carried on screen by screen, and what I took away is that a short trial beats a long debate.
  8. 08What have you learned recently, and how?

    What they’re looking for: A specific topic, a source, and what you did with it in a project.

    Example of a good answerOver the past few months, I’ve learned React Server Components, with the Next.js docs and a small side project rebuilt from scratch. I then applied it at work on our catalogue page: data fetching moved to the server, and we cut around forty kilobytes of JavaScript sent to the browser. I also learned what doesn’t work: I’d put the boundary in the wrong place at first, and some interactive components had to go back to the client.

How Léa follows up

A vague answer doesn’t get through. This is the kind of exchange you’ll have:

You

I optimised the app’s performance.

Léa

Which part, and by how much? What did you measure before, what did you change, and what number did you get after?

You

I’ve been using React for three years.

Léa

In those three years, what’s the hardest problem you solved with React? Describe the bug or the constraint, then your fix.

The classic mistakes

Reciting the docs

Defining the virtual DOM proves nothing. Telling the story of the time it caused you trouble does.

Talking tools instead of problems

The list of libraries on your CV matters less than why you chose them.

Forgetting the user

An answer about performance or accessibility that never mentions the user sounds hollow.

Not daring to say “I don’t know”

A made-up answer shows. Explaining how you’d find out is better.

Frequently asked questions

Does the AI agent make me write code?

No. Intervoo trains the spoken part: presenting your projects, justifying your choices, answering technical questions. That’s often where it’s decided, even after a good coding exercise.

What if I’m looking for my first job?

The AI agent adapts its questions to the level it reads in your CV. Nobody expects a first hire to have designed an architecture, only to explain what they built.

How long does the interview last?

About twenty minutes, out loud. No microphone? The same interview works in writing. At the end you get a score out of 20 and, for every criticism, what you said and what you should have answered.