Volume 2 Companion: The Web FrontendPractice for Volume 2
0 / 0

Workbench / Volume 2 Companion: The Web Frontend

Volume 2 · Companion

Volume 2 Companion: The Web Frontend

Everything around each chapter that helps it stick and pays off at work: how its ideas connect, the same material from unexpected angles, what it gets wrong or simplifies, real open-source code, debugging drills, interview questions with how to approach them. Where the chapter or the chapter exercises already cover something, this page says so and points there instead of repeating it.

22 chapters◷ ~5 h to read ✓ 132 topics

What each chapter's companion holds

Understanding it betterConcept map · Explain it differently (unusual angles, code-first, numbers you can feel) · Gaps and misconceptions, practical and theoretical
Applying itCode walkthrough in real open-source code · Debugging drills
Career-orientedInterview prep at mid, senior and staff level, with how to approach each answer

A section that the chapter or the Chapter Exercises already covers is marked Already covered with a pointer, and only what's missing is added.

How to use the companion

  1. Read the chapter first. The companion assumes you have, and points back to its sections by name.
  2. Start with the concept map: it shows how the chapter's ideas connect, and where each one goes deeper.
  3. Do the drills and the interview questions before opening answers. Write your answer first; the hints unlock after that.
  4. Tick a section Done only when you could do it again without help.

Mastery levels

L1 RecognitionDefine it and identify it.
L2 WorkingUse it correctly in code or config.
L3 InternalsExplain why it works.
L4 DebuggingDiagnose failures and performance problems.
L5 DesignChoose among competing approaches.
L6 ProductionOperate it under scale, failure, security and cost.

How to use it: open a chapter's companion after reading the chapter once. Try each drill, review and interview question before opening its hints and answer; tick a section Done when you could do it again without help. Every quoted output was produced by running the code on a Linux lab machine (GCC 13, Java 21, Go 1.24, Rust 1.97, Python 3.13); source excerpts are quoted from pinned release tags.

Contents

  1. V2·12The Web PlatformCompanion to Volume 2, chapter 12: how addresses, the document trees and the browser's security model connect; new angles (a URL as a postal address…18 min
  2. V2·13HTMLCompanion to Volume 2, chapter 13: how document structure, built-in semantics and forms connect; new angles (HTML as a contract with three readers, a…17 min
  3. V2·14CSSCompanion to Volume 2, chapter 14: how the cascade, layout and responsive CSS connect; new angles (the cascade as a knockout tournament, specificity…19 min
  4. V2·15JavaScriptCompanion to Volume 2, chapter 15: how the language, execution and the runtime connect; new angles (closures as a tiffin box packed at home, the…18 min
  5. V2·16TypeScriptCompanion to Volume 2, chapter 16: how the basics, describing values and type-level programming connect; new angles (the checker as a building…17 min
  6. V2·17The DOM and Browser APIsCompanion to Volume 2, chapter 17: how the DOM, networking and storage, and real-time APIs connect; new angles (the DOM as a live switchboard…16 min
  7. V2·18Browser InternalsCompanion to Volume 2, chapter 18: how loading, the rendering pipeline and the engine connect; new angles (the pipeline as a print shop, invalidation…15 min
  8. V2·19Frontend NetworkingCompanion to Volume 2, chapter 19: how HTTP itself, caching and state, and cross-origin access connect; new angles (idempotency as a lift button…15 min
  9. V2·20AccessibilityCompanion to Volume 2, chapter 20: how foundations, perceiving and operating, and ARIA connect; new angles (the accessibility tree as a radio script…13 min
  10. V2·21UI ArchitectureCompanion to Volume 2, chapter 21: how components, design systems and code organisation connect; new angles (components as a kitchen's stations…14 min
  11. V2·22ReactCompanion to Volume 2, chapter 22: how React's fundamentals, hooks and rendering model connect; new angles (render as a waiter writing an order…17 min
  12. V2·23AngularCompanion to Volume 2, chapter 23: how Angular's templates, dependency injection and reactivity connect; new angles (an injector as a building's…16 min
  13. V2·24Full-Stack FrameworksCompanion to Volume 2, chapter 24: how rendering strategies, frameworks and production concerns connect; new angles (CSR as flat-pack furniture, SSR…14 min
  14. V2·25State ManagementCompanion to Volume 2, chapter 25: how classifying state, client-state tools and server state connect; new angles (state kinds as a kitchen's…13 min
  15. V2·26Frontend TestingCompanion to Volume 2, chapter 26: how test strategy, techniques and specialised testing connect; new angles (test levels as a kitchen's tasting…14 min
  16. V2·27Frontend PerformanceCompanion to Volume 2, chapter 27: how measuring, loading and running connect; new angles (LCP as the main course arriving, INP as how long the…13 min
  17. V2·28Frontend SecurityCompanion to Volume 2, chapter 28: how injection defences, cross-origin protections and identity connect; new angles (CSP as a guest list, Trusted…13 min
  18. V2·29PWAs, Workers and WebAssemblyCompanion to Volume 2, chapter 29: how service workers, offline storage, workers and WebAssembly connect; new angles (a service worker as a…14 min
  19. V2·30Build Tooling and MonoreposCompanion to Volume 2, chapter 30: how packages, bundlers and monorepo tools connect; new angles (a lockfile as a bill of materials, hoisting as a…12 min
  20. V2·31Frontend DeploymentCompanion to Volume 2, chapter 31: how hosting, the edge and releases connect; new angles (a hashed asset as a book's ISBN, a release switch as a…12 min
  21. V2·32Frontend ObservabilityCompanion to Volume 2, chapter 32: how errors, field performance, traces and releases connect; new angles (RUM as a hospital's ward rounds against…11 min
  22. V2·33Frontend ProjectsCompanion to Volume 2, chapter 33, the volume's projects: how the eight projects build one product in layers; new angles (a portfolio as a lab…10 min