S ScreeningInterviews

Frontend developer screening interview questions

Updated 10 November 2026

Screen a frontend developer for how they build interfaces real users can use: state management, performance on slow phones and networks, accessibility and working from a design. The best signal is a specific screen they built and the problems they found after real users touched it.

What to screen for

The questions

  1. 1. Tell me about a screen you built that was slow. How did you find the cause and what did you change?

    Strong answer: Used the browser Performance or Lighthouse tab, found the culprit (large bundle, re-renders, unoptimised images, layout shift), and gives the before/after number.

    Red flag: 'I added useMemo everywhere' with no measurement, or has never profiled a page.

  2. 2. How do you decide where a piece of state should live?

    Strong answer: Local vs. shared vs. server state, with an example; mentions caching server data separately (React Query, SWR, or equivalent) and avoiding prop drilling only when it hurts.

    Red flag: Puts everything in a global store by default and cannot say why.

  3. 3. What do you check to make a form accessible?

    Strong answer: Labels tied to inputs, keyboard order, visible focus, error messages announced to screen readers, colour contrast; has tested with a keyboard or screen reader at least once.

    Red flag: Thinks accessibility means adding alt text to images, and nothing else.

  4. 4. A designer hands you a mock-up that does not cover the error and empty states. What do you do?

    Strong answer: Raises it early, proposes sensible defaults, and asks for a decision rather than guessing silently; mentions loading and long-text cases too.

    Red flag: Builds only the happy path and lets QA find the rest.

  5. 5. How do you test frontend code?

    Strong answer: A balance: unit tests for logic, component tests for behaviour, a few end-to-end tests for key flows; knows which ones caught real bugs.

    Red flag: No tests, or snapshot tests only, with no view on what they protect.

How to score each answer

ScoreWhat it looks like
5Specific example from their own work, their own actions, a measurable result, and what they would do differently.
4Specific example and clear actions; the result or the lesson is thinner.
3Knows the right approach but answers in general terms ("I would…", "we usually…") with no concrete case.
2Partly relevant; misses the core of the question or describes someone else's work.
1No relevant answer, or a red flag listed for that question.

Questions to leave out

Every question here is about the job: skills, past work, judgement and the practical conditions of the role (shift timings, travel, notice period). Leave out questions on age, date of birth, religion, caste, marital status, pregnancy or family plans, health or disability, nationality or native place, and similar personal matters. They do not predict how someone will do the work, and in many countries (for example under US EEOC rules and the UK Equality Act 2010) using them in hiring decisions is unlawful. If a role has a genuine legal requirement, such as a professional licence or the right to work, ask about that requirement directly and ask every candidate the same way.

More: what you can and cannot ask in India, the US and the UK.

Questions

Should I ask about CSS in a frontend screen?

Yes, briefly. Ask how they would build a layout that works from 360 px to desktop; a good candidate talks about flexbox or grid and mobile-first breakpoints without notes.

Is framework experience a must-have?

Deep knowledge of one framework transfers well. Screen for understanding (why a component re-renders) over the brand name on the CV.

What take-home task suits a frontend role?

A 2–3 hour task: one screen from a provided design with an API call, loading and error states. Pay or keep it short; long unpaid tasks drive good candidates away.

ScreeningInterviews can ask questions like these for you: paste the job description, and it builds an interview plan with a 1-3-5 rubric that you can edit, holds a voice interview in the browser with follow-up questions, and gives you a scorecard with the candidate's own words. A person makes every decision. 14 days free, no card.

Start free — 14 days, no card

Related

Last updated 10 November 2026 · by Venu Gopal Reddy Muvva, founder