Skip to content

Frontend Developer interview questions

12 questions to ask when hiring a frontend developer, grouped by the skill they test, with what a strong answer contains.

How to use these questions

Pick six to eight questions that fit your role and ask every candidate the same ones, in the same order. Score each answer straight away on a simple scale, using the "what to look for" notes. That's a structured interview, and it makes candidates far easier to compare fairly. Ask follow-ups to get the situation, the actions and the result (the STAR method).

The questions

Technical depth

  1. 1.Walk me through how you'd build [a component from your product], from design to production.

    What to look for: Component structure, state, edge cases, accessibility and testing, not just the happy path.

  2. 2.How do you decide where state should live in a frontend app?

    What to look for: Clear reasoning about local versus shared and server state, and avoiding unnecessary complexity.

  3. 3.A page is slow to load. How would you find and fix the problem?

    What to look for: Measuring first with browser tools, then specific fixes such as bundle size, images, caching and rendering strategy.

Accessibility

  1. 4.How do you make sure what you build is accessible?

    What to look for: Semantic HTML, keyboard navigation, focus management, contrast and testing with a screen reader or automated tools.

  2. 5.Tell me about an accessibility problem you found and fixed.

    What to look for: A specific example and an understanding of who it affected.

Quality

  1. 6.What's in a good component API?

    What to look for: Simple, predictable props, sensible defaults, composition and consistency with the rest of the system.

  2. 7.How do you test frontend code?

    What to look for: A mix of component tests and a few end-to-end tests on key flows, focused on behavior users see.

Collaboration

  1. 8.A design doesn't cover the error state or mobile layout. What do you do?

    What to look for: Make a sensible proposal, check with the designer, and keep moving rather than blocking or guessing silently.

  2. 9.How do you work with back-end engineers on a new API?

    What to look for: Agreeing on the contract early, mocking where needed and raising problems quickly.

Product sense

  1. 10.Show me an interface you think is excellent, and one you'd improve.

    What to look for: Specific observations about usability and detail, with reasons.

Ownership

  1. 11.Tell me about a bug that reached users. What happened next?

    What to look for: Ownership of the fix and of preventing a repeat.

Learning

  1. 12.How do you keep up with changes in the frontend ecosystem without chasing every new tool?

    What to look for: A balanced approach: learning deliberately and adopting tools only when they solve a real problem.

Red flags in a frontend developer interview

  • Treats accessibility as optional
  • Can't show any live work
  • Over-engineers simple problems
  • Dismisses designers' input or ignores the design entirely

Before the interview

Interviews go better when everyone agreed on the role first. Start from the frontend developer job description template, screen applicants against its must-haves, and invite the shortlist to book their own interview slot so good candidates aren't kept waiting.