Frontend Engineer Interview Prep
An interview prep path for frontend loops. Frontend interviews split into two tracks - a practical round (build a component, write a hook, debounce a search box) and a generalist round (algorithms, system design at the edge). This path covers both: TypeScript and framework depth first, a lighter algorithms floor, practical frontend coding, and the system-design topics that show up when the box you are designing is a browser.
JavaScript and TypeScript fundamentals
Frontend loops probe the language before the framework - closures, the event loop, type narrowing, generics. If an interviewer can shake you on `this` or `Promise` ordering, the framework questions never land. Anchor the language first.
Framework depth
Rendering models, reconciliation, state management trade-offs, hydration. Interviewers care less about API recall and more about whether you know why the framework does what it does - and what it costs.
Algorithms floor
Frontend loops still ask algorithms, just lighter than backend ones. You need the core patterns - hash maps, two pointers, traversal - to be reflexive, not a deep DP repertoire. Cover the floor and move on.
Coding: strings and arrays
The generalist coding round in a frontend loop is almost always string and array manipulation. These warm-ups lock in the patterns interviewers reach for - frequency maps, sliding windows, in-place rearrangement.
Coding: frontend practicals
The round that actually decides frontend offers: build a component, write a hook, control async behavior. Narrate the accessibility and re-render decisions as you go - that commentary is what separates mid from senior.
- 01CodeFrontend: Counter Component (React useState)Coding · Easy
- 02CodeFrontend: Debounced Search Input (Cancellation)Coding · Medium
- 03CodeFrontend: useFetch Custom Hook (Loading/Error/Data State Machine)Coding · Medium
- 04CodeFrontend: Modal with Focus Trap (Tab Order Logic)Coding · Medium
- 05CodeFrontend: Promise.all Polyfill (Order + Fail-Fast)Coding · Medium
System design at the edge
Frontend system design is about what happens between the user and the origin: caching at the CDN, real-time sync, typeahead latency budgets, feed rendering. These four walkthroughs cover the designs frontend interviewers actually ask.
- 01DesignDesign a CDN with Edge Compute (CloudFront / Cloudflare)System Design · Hard
- 02DesignDesign Search and Autocomplete (Elasticsearch-style)System Design · Hard
- 03DesignDesign a Real-Time Collaboration System (Figma / Google Docs)System Design · Hard
- 04DesignDesign a News Feed (Twitter / Facebook)System Design · Hard
Behavioral: collaboration and craft
Frontend roles sit between design, product, and backend - behavioral rounds screen for how you handle that seam. Have a story for each theme: a disagreement you resolved, feedback you gave, ambiguity you structured.
Browse other learning paths
Three role-targeted paths are live: Backend, SRE / DevOps, and ML Engineer. More are on the way - if you have a role you want covered, let us know.
View all paths →