Skip to main content
All guides
Guide

Frontend Developer Roadmap: What to Learn to Pass a Frontend Interview

A frontend learning path in order: HTML and CSS, deep JavaScript, React, TypeScript, performance and system design, and what interviews test at each step.

4 min read

A frontend roadmap aimed at interviews looks a little different from one aimed at "learning to build websites". A frontend interview won't ask whether you can use React. It asks why React works the way it does, what happens in the browser when a page loads, and how to implement basic tools like debounce without a library. This roadmap is ordered the way it's worth learning, and each step says what interviews test and where to practice.

TL;DR

  1. HTML, CSS and accessibility
  2. JavaScript in depth (the most important step for interviews)
  3. The browser: rendering, events and the network
  4. React
  5. TypeScript
  6. Performance and security
  7. Frontend system design
  8. Algorithms and data structures

Step 1: HTML, CSS and accessibility

The foundation. Know semantic HTML (<button>, not <div onClick>), Flexbox and Grid, and how the cascade works. Accessibility (a11y) comes up in interviews more than people expect, especially in component-building exercises.

What interviews test: layouts with Flexbox or Grid, the different position values, stacking contexts and z-index, and making a component keyboard-accessible.

Where to practice: Flexbox, Grid and stacking contexts.

Step 2: JavaScript in depth

This is the step that separates people who pass frontend interviews from people who don't. Most theory questions and almost every live-coding exercise depend on it.

Must-know topics:

  • Scope, hoisting and closures
  • this and how it's bound
  • Prototypes and inheritance
  • Value vs. reference
  • The event loop, microtasks and macrotasks
  • Promises and async/await

What interviews test: "what does this code print?" with setTimeout and promises, explaining a closure with an example, and implementing functions like debounce, throttle, Promise.all and deep clone.

Where to practice: the event loop, closures, this, then the JavaScript challenges such as implementing debounce and Promise.all.

Step 3: How the browser works

What happens from typing a URL to seeing the page? The critical rendering path, reflow and repaint, event bubbling and delegation, and HTTP caching.

What interviews test: "what happens when you type a URL?", why reflow is expensive, and how to handle events on a list of a thousand items.

Where to practice: the critical rendering path, event delegation.

Step 4: React

Writing components isn't enough. You need to understand reconciliation, when a component re-renders, how useEffect works and when useMemo actually helps.

What interviews test: building a live component (autocomplete, a modal, a sortable table), questions about re-renders, state management, and server components in modern apps.

Where to practice: reconciliation, useEffect, re-renders and memoization, then the UI build challenges, for example autocomplete and an accessible modal.

Step 5: TypeScript

Most frontend roles in Israel use TypeScript. Know generics, unions and intersections, type narrowing, and utility types like Partial and Pick.

Where to practice: TypeScript essentials for interviews.

Step 6: Performance and security

Core Web Vitals (LCP, INP, CLS), code splitting, rendering strategies (CSR, SSR, SSG), and client-side security: XSS, CSRF and CORS.

Where to practice: Core Web Vitals, rendering strategies, web security.

Step 7: Frontend system design

Common from mid-level roles upward. You design a client-side app: a news feed, autocomplete, chat. Interviewers look at component architecture, state management, server communication (REST, WebSockets), pagination and performance.

Where to practice: frontend system design questions, for example designing a news feed.

Step 8: Algorithms and data structures

Even for frontend roles, many companies send an algorithms test. You don't need competitive-programming level, but you do need the core patterns: hash maps, two pointers, sliding window, trees and graphs.

Where to practice: DSA problems by topic, with a beginner guide to arrays and hashing.

How long does it take?

It depends on where you start. If you already work as a frontend developer, a focused review of steps 2-7 usually takes 3-6 weeks. Starting from zero, the whole roadmap is a matter of months, and it's worth building one real project along the way that you can show in interviews.

For a week-by-week plan, see how to prepare for a tech interview.

Was this helpful?