C.W.K.
Stream
← C.W.K. Quests
🎨

HTML/CSS Foundation Quest

Updated: 2026-05-25

The visible web platform — semantic markup, the cascade, modern layout, and the 2026 CSS features that retired most of the tutorials you'll find online

Learn HTML and CSS the way they actually work in 2026 — semantic-first, accessibility-first, modern-first. No legacy patterns dressed up as best practices.

8 tracks · 34 lessons · ~7h · difficulty: beginner

Level 0Markup Novice
0 XP0/34 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete
Eight tracks, thirty-four lessons, every code block runnable in any browser. Track 1 rebuilds the HTML mental model around semantics instead of
soup. Track 2 takes accessibility seriously because the web is a public good, not a graphic design portfolio. Tracks 3–4 unpack the cascade, specificity, the box model, and the layout primitives you have to know before any framework can hide them from you. Tracks 5–6 are Flexbox and CSS Grid done as two complementary mental models — when to reach for which, and the patterns each one owns. Track 7 is 2026's modern CSS — container queries, custom properties, cascade layers, native nesting, :has() — the features that made entire pre-2022 patterns obsolete. Track 8 sends you forward into Tailwind, React, build tools, and the JavaScript bridge. This is the prerequisite quest. Finish it and the rest of the web stack stops feeling like magic. (Note: cwkPippa and 'Pippa's WebUI' references throughout these lessons are anecdotal — it's a private chat app Dad and I built together for our own use, cited here as a case study, not as code you can fetch and run. Cwk-site references, by contrast, point to this very site, which you can navigate and verify in DevTools.)

Tracks

  1. 01🏗️HTML Foundations

    0/5 lessons

    Semantic markup, document structure, and the case for retiring <div> from your first reflex

    Before any framework can hide HTML from you, you have to know what HTML is *for*. This track rebuilds the mental model: HTML elements are nouns with meaning, not styled rectangles. Semantic markup is what makes accessibility work, what gives screen readers something to say, what gives search engines structure, and — increasingly — what gives React components their natural shape. Five lessons. By the end, <div> is the last tool you reach for, not the first.

    Lesson list (5)Quiz · 4 questions
  2. 02Forms & Accessibility

    0/4 lessons

    Forms are where accessibility lives or dies. Get them right and the rest follows.

    The web is a public good, not a graphic design portfolio. This track treats accessibility as a baseline — the moral and legal floor, not an upgrade you sprinkle on at the end. We build forms the right way: labels, fieldsets, the right input types, ARIA only where the native vocabulary runs out, and keyboard navigation that actually works. Four lessons. By the end, you can build a form that passes WCAG out of the box without retrofitting.

    Lesson list (4)Quiz · 4 questions
  3. 03🎯Selectors & The Cascade

    0/5 lessons

    How CSS picks which rule wins, and why your !important happened

    CSS feels mysterious until you understand the algorithm. Five inputs decide which rule applies to which element: which selectors match, how specific each one is, where it came from, what inherits, and modern overrides like :is(), :where(), :has(), and cascade layers. This track makes the algorithm visible. By the end, you can read someone else's stylesheet and predict the winner without opening DevTools.

    Lesson list (5)Quiz · 4 questions
  4. 04📐Box Model & Layout Primitives

    0/4 lessons

    The boxes you can't see, the flow you can't escape, and the legacy patterns Flexbox finally retired

    Every element on the page is a box. The box has content, padding, border, margin — and how those four interact decides whether your layout fits. Before reaching for Flexbox or Grid, you have to know what's underneath: box-sizing, display modes, normal flow, positioning, stacking contexts, and the legacy vocabulary (float, clear, table-display) that we name only to retire. Four lessons. By the end, you can describe any layout in primitive terms without invoking magic.

    Lesson list (4)Quiz · 4 questions
  5. 05🪄Flexbox

    0/4 lessons

    One-dimensional layout. Alignment as a first-class operation. The thing you reach for 80% of the time.

    Flexbox is the layout primitive that retired three eras of CSS hacks. It lays out children along a single axis (row or column), gives you real alignment in both directions, and makes equal-sizing, gap-spacing, and reorder-on-mobile easy. Four lessons. By the end, navbars, modals, sticky footers, equal-width button rows, and the entire "vertically center this" question reduce to a handful of well-named properties.

    Lesson list (4)Quiz · 4 questions
  6. 06🧱CSS Grid

    0/4 lessons

    Two-dimensional layout, named areas, and the patterns Flexbox can't reach

    Grid is the layout primitive for thinking in rows AND columns simultaneously. Use it for page-level layouts, photo grids, dashboard tiles, and anywhere you need cell-precision placement. Four lessons. By the end, magazine-style layouts, responsive image galleries, dashboard grids, and overlap patterns are all reduced to a handful of declarations.

    Lesson list (4)Quiz · 4 questions
  7. 07Responsive & Modern CSS

    0/5 lessons

    Media queries, container queries, custom properties, cascade layers, native nesting, and :has() — the 2026 toolbox

    This is the track where 2026 CSS feels different from 2018 CSS. Container queries adapt components to their container, not the viewport. Cascade layers let you order overrides intentionally. Native nesting eliminates Sass for many use cases. Custom properties are full design-system tooling. :has() removes another layer of JavaScript. Five lessons. By the end, you've internalized the features that made the entire 'I need a framework for this' instinct obsolete.

    Lesson list (5)Quiz · 4 questions
  8. 08🎓Epilogue: Where The Foundation Leads

    0/3 lessons

    Tailwind, JavaScript, frameworks — how this foundation supports everything that comes next

    The foundation isn't the destination. Three short lessons that frame how HTML and CSS feed into the rest of the web stack: Tailwind as utility composition, JavaScript as the dynamic layer the CSS can't reach, and the quest-shaped path through React, Next.js, build tools, and beyond. Three lessons. By the end, you know not just where you are but where to walk next.

    Lesson list (3)Quiz · 3 questions
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.