Intermediate to senior

Frontend Interview Prep

Fourteen chapters on HTML and CSS, core JavaScript, the event loop, browser rendering, React, state, performance, accessibility, security, TypeScript, testing, machine-coding components and frontend system design, with tested code.

14 chaptersUpdated 2026-10-02

Foundations

Chapter 1How Frontend Interviews WorkThe rounds, what a UI coding round checks, a four-week plan and how to answer conceptual questions.
Chapter 2HTML, CSS, Layout and Responsive DesignSemantics, the box model, specificity, positioning, flexbox, grid and responsive techniques.
Chapter 3JavaScript Core: Scope, Closures, this and PrototypesEquality and coercion, hoisting, closures, this binding, prototypes, copying and iteration.
Chapter 4Async JavaScript: Event Loop and PromisesMicrotasks versus macrotasks, promises and combinators, async/await, concurrency, cancellation and races.
Chapter 5JavaScript Utility Functions: The Interview SetDebounce, throttle, memoise, curry, deep clone, flatten, event emitter, bind and array helpers.

Browser and React

Chapter 6Browser Rendering and Web PerformanceThe render pipeline, Core Web Vitals, loading strategy, rendering modes, caching and a measure-first workflow.
Chapter 7React Fundamentals and HooksThe render model, state snapshots, keys, effects, stale closures, memoisation and context.
Chapter 8State Management and Data FetchingA taxonomy of state, stores and selectors, query caches, optimistic updates, URL state and forms.

Quality and security

Chapter 9Web AccessibilityPOUR, semantic HTML, keyboard and focus, ARIA, forms, contrast and testing.
Chapter 10Web Security for Frontend EngineersSame-origin policy, XSS, CSRF, CORS, CSP, token storage and third-party risk.
Chapter 11TypeScript for Frontend InterviewsNarrowing, discriminated unions, generics, utility types and the compile-time versus run-time gap.
Chapter 12Frontend Testing StrategyTest levels, behaviour over implementation, mocking, fake timers, async tests and flakiness.

Building and designing

Chapter 13Machine Coding: Building UI ComponentsA method plus star rating, tabs, accordion, autocomplete, todo, infinite scroll and data table logic.
Chapter 14Frontend System DesignThe RADIO framework, real-time transport, data modelling and worked designs for a feed, chat and typeahead.
Header Logo