Interview prep

Frontend Developer interview questions

Frontend interviews have moved on from trivia about CSS specificity. They now test whether you can keep an application fast and usable as it grows.

Interviewers are looking for someone who understands what the browser is doing, treats accessibility as part of the work, and has opinions about state that came from a codebase rather than a conference talk.

Every question below is one that gets asked. What we have added is the part that usually goes unsaid: what a strong answer actually demonstrates. Career1 scores interviews for a living, so this is the difference we see between an answer that lands and one that was rehearsed.

How the browser actually works

  1. What happens between a user clicking a link and seeing content?

    What a strong answer shows: Depth of mental model: request, parse, render, hydrate. It scales from junior to staff depending on how far you go.

  2. Something feels janky when scrolling. How do you diagnose it?

    What a strong answer shows: Whether you reach for the performance profiler, and know layout thrash and long tasks by sight.

  3. How would you make a page's largest contentful paint faster?

    What a strong answer shows: Practical levers: image sizing and format, render blocking resources, font loading, and what you would measure first.

State and architecture

  1. When does a component need global state, and when is that a mistake?

    What a strong answer shows: Restraint. Everyone can add a store; fewer can say why most state belongs where it is used.

  2. How do you handle server state versus client state?

    What a strong answer shows: Whether you have felt the pain of caching and invalidation, or copied a pattern without hitting its edges.

  3. How do you keep a component library from becoming unusable?

    What a strong answer shows: Experience of maintenance: API design, escape hatches, and what happens when a design changes.

Accessibility and quality

  1. How do you make a custom dropdown accessible?

    What a strong answer shows: Whether accessibility is something you build in or bolt on. Keyboard handling and focus management come up fast.

  2. What do you test in frontend code, and what do you not bother testing?

    What a strong answer shows: Judgement about brittle snapshot suites versus tests that catch real regressions.

Now practise it out loud

Reading questions is the easy half. Career1's AI interviewer asks them by voice, follows up when an answer is thin, and gives you a scored report on what you actually said. It takes about eight minutes and costs nothing.

Pass it and your profile becomes visible to companies hiring for frontend developer roles, with the interview attached as evidence.

Practise this interview free

Questions people ask

Do frontend interviews still ask CSS trivia?

Less often. Stronger teams ask you to reason about layout and rendering instead. Flexbox and grid still come up, but usually inside a practical problem rather than as a definition.

How much JavaScript framework knowledge do I need?

Enough to explain the trade-offs of the one you use. Teams generally assume you can learn theirs; what they cannot teach quickly is a mental model of the browser.

What is the most common reason frontend candidates fail?

Describing what a framework does rather than what they decided. Interviewers are listening for the constraint behind a choice.

Other roles

Hiring instead of interviewing? See how Career1 vets applicants for you.