Course · 8 lessons ~35 hr Intermediate

The DOM, Browser & CSS

The DOM, Browser & CSS covers: Head First HTML5 Programming, The HTML Handbook, CSS in Depth, Refactoring UI, Don't Make Me Think. Understand how browsers work — the rendering pipeline, the DOM, events, CSS layout (Flexbox, Grid), responsive design, accessibility, and UX fundamentals. This is the environment where your JavaScript runs. In Rails, you write ERB templates and trust the asset pipeline (or importmap) to deliver CSS. But do you know why turbo-frame sometimes causes layout shifts? Why Stimulus controllers that touch style properties cause layout thrashing? Understanding the browser rendering pipeline explains these issues. CSS in Rails has evolved too: Tailwind CSS is now the Rails 7+ default, and understanding CSS in Depth helps you use Tailwind intentionally rather than guessing utility classes. Refactoring UI's principles apply to every <%= render partial: %> you write — even server-rendered HTML benefits from good visual hierarchy.

reading · we frame, you read MIT or the canonical taught · we author, no canonical fits ↺ spirals back to earlier lessons
Course locked

Complete Modern JavaScript & TypeScript first.

This course unlocks once you've finished its prerequisite. Open prerequisite →

8 lessons. Read in order; spiral back when you need to. By the end you'll have used the core ideas twice — once on the abstract, once on something you'll meet at work next week.