Frontend developer roadmap
Review the topic, try the exercise and move to the next step. Choose React or Vue on the framework branch.
Foundations
Internet and networking
- Learn
- URLs, DNS, hosting, TCP/TLS at request level, HTTP, headers, status codes and caching
- Practise
- In Network, follow a redirect and compare the first response with a repeat request.
- Interview practice question
- What happens after entering a URL? Why can a 304 response omit a body?
Browser and DOM
Prerequisite Internet and networking
- Learn
- DOM, HTML parsing, CSSOM, layout, paint, events and DevTools
- Practise
- Inspect target and currentTarget on a nested click. Add a button after registering the handler.
- Interview practice question
- How does an event bubble? When is delegation useful?
HTML and accessibility
Prerequisite Browser and DOM
- Learn
- Semantics, forms, labels, buttons, keyboards, focus and error messages
- Practise
- Complete a form with the keyboard. On failure, check the focus and find the error without a mouse.
- Interview practice question
- Why use a button instead of a div? How do you associate a field with its hint?
CSS and responsive layout
Prerequisite HTML and accessibility
- Learn
- Box model, cascade, specificity, Flexbox, Grid, positioning and responsive layout
- Practise
- Build a grid with a long title and check overflow at 360 and 1280 px.
- Interview practice question
- What limits a grid item's width? How do you find the winning declaration?
JavaScript
Prerequisite Browser and DOM
- Learn
- Types, references, functions, closures, this, arrays, modules, promises and microtasks
- Practise
- Predict Promise.then and setTimeout output. Implement debounce with cancel and test rapid calls.
- Interview practice question
- What does a closure retain? In what order do synchronous code, a promise and a timer run?
Git and code review
Prerequisite JavaScript
- Learn
- Branches, diff, merge conflicts, pull requests, revert and lockfiles in review
- Practise
- Open a small change on a branch, resolve a conflict and revert a published commit.
- Interview practice question
- When is revert appropriate? What makes verification steps useful in a pull request?
Application work
APIs and requests
Prerequisite JavaScript
- Learn
- fetch, async/await, HTTP errors, abort, races, caching and loading states
- Practise
- Return the older request last. The view must keep the current data.
- Interview practice question
- What does fetch do on HTTP 404? How does aborting differ from ignoring a stale result?
TypeScript
Prerequisite JavaScript
- Learn
- Unions, narrowing, generics, unknown, prop types and runtime boundaries
- Practise
- Model request states as a union. Handle an unexpected local API response separately.
- Interview practice question
- How does unknown differ from any? Why doesn't an interface validate a response body?
npm, builds and CI
Prerequisite Git and code review
- Learn
- npm or pnpm, lockfiles, ESM, Vite, linting, environment and built asset paths
- Practise
- Run a clean install, lint, build and preview without personal configuration.
- Interview practice question
- What does the lockfile do? Which environment values can reach the client bundle?
React branch
Prerequisite TypeScript
- Learn
- Components, props and state, keys, hooks, effect cleanup, routing and forms
- Practise
- Build search and editing. Reorder list items and check which state follows each item.
- Interview practice question
- Why can an index key break an editable list? When can data be derived during render?
Vue branch
Prerequisite TypeScript
- Learn
- ref, reactive, computed, watch, props/emits, lifecycle and routing
- Practise
- Use a computed filter and restore search state from the URL.
- Interview practice question
- When should you use computed versus watch? What belongs in the parent?
Application state
Prerequisite APIs and requests
- Learn
- Local state, URLs, server cache, invalidation, optimistic updates and rollback
- Practise
- Show a save optimistically, then restore the previous value and explain the failure.
- Interview practice question
- Where should a shareable filter live? When do you need rollback?
Testing
Prerequisite APIs and requests
- Learn
- Unit, integration and browser checks, fixtures, error paths and keyboards
- Practise
- Test a pure filter, a network failure and the user flow from form to result.
- Interview practice question
- Where should you test the calculation versus the full browser flow?
Release and maintenance
Prerequisite Testing
- Learn
- Build, deploy, HTTP cache, environments, logs, reproduction and rollback
- Practise
- Open the build in a fresh browser, reload a nested route and restore the previous release.
- Interview practice question
- Why can a nested route work on click but fail on reload?
Web security essentials
Prerequisite Internet and networking
- Learn
- HTTPS, cookies, SameSite, CORS, CSRF, XSS, CSP and client/server boundaries
- Practise
- In a local demo, distinguish cross-origin response access from authorization to make a change.
- Interview practice question
- Why isn't CORS authorization? Why can't a frontend bundle keep a secret?
Advanced topics
SSR, SSG and hydration
Prerequisite React branch or Vue branch
- Learn
- CSR, SSR, SSG, server HTML, hydration, Next.js or Nuxt, and caching
- Practise
- Compare initial HTML with the live DOM. Use the same initial data on server and client.
- Interview practice question
- Why can local time cause a mismatch? Which work can move after initial rendering?
Performance
Prerequisite Browser and DOM or Release and maintenance
- Learn
- LCP, INP, CLS, DevTools, profiling, images and code splitting
- Practise
- Record builds under comparable conditions and fix one cause of slow or shifting rendering.
- Interview practice question
- Where would you look for a slow LCP? Why is a single local run unstable?
Frontend system design
Prerequisite Application state or Testing
- Learn
- Boundaries, design systems, accessibility, graceful degradation and observability
- Practise
- Design search for a large list with pagination, failure, retry, keyboard access and a metric.
- Interview practice question
- Where would you draw component boundaries? What happens when a request is slow or fails?
AI-assisted work and review
Prerequisite Testing
- Learn
- Task constraints, diff review, testing, privacy and when agents or MCP help
- Practise
- Run the same two scenarios against generated and reviewed versions. Record outcomes and review the diff.
- Interview practice question
- What did you verify yourself? How would you isolate a regression in a generated change?