> cs·fundamentals
interview 0% an interactive refresher
08 [B][J] Stage 4

Frontend for Vibe Coders

Design and UI literacy for people who ship by directing AI, not by hand-writing CSS. Name every element, judge whether a screen looks professional, know which pattern to reach for, and review what the AI builds. (Module 05 is the code-level version.)

chapters
9
objectives
54
core
43
est. time
4h 6m
  1. 01
    8.1 How a UI is actually built ★ core

    The browser-side mental model — components, props/state, rendering, styling, the build — so you can picture what the AI is making and talk about it precisely. (Module 5 is the code-level version.)

    6 objectives · 3 readings · 26m
  2. 02
    8.2 The visual vocabulary: naming every element ★ core

    You can't direct what you can't name. The complete catalog of UI elements — buttons, fields, overlays, navigation — so “make it nice” becomes a precise request.

    6 objectives · 3 readings · 28m
  3. 03
    8.3 Design principles that stop UI looking amateur ★ core

    The handful of principles that separate “obviously AI-generated” from “looks designed” — hierarchy, spacing, type, color, alignment, grouping — as a checklist you run over any screen.

    6 objectives · 3 readings · 30m
  4. 04
    8.4 Layout & responsive thinking ★ core

    How elements arrange and reflow across screens — the box model, flexbox vs grid, reading width, mobile-first — so you can describe a layout precisely enough to build.

    6 objectives · 3 readings · 26m
  5. 05
    8.5 Interaction & the four states every screen needs ★ core

    Real screens aren't one happy picture — every data view has loading, empty, error, and success. Plus forms, validation, and feedback. AI ships only the success state; this is how you stop that.

    6 objectives · 3 readings · 28m
  6. 06
    8.6 UX patterns: what to use where ★ core

    The quiet make-or-break decisions — modal vs page, table vs cards, dropdown vs radios, pagination vs infinite scroll. Each has a right answer most of the time.

    6 objectives · 3 readings · 28m
  7. 07
    8.7 Design systems, tokens & component kits ★ core

    Professional UI is consistent because it's built from reused, tokenized parts — not hand-tuned per screen. Think in tokens and components, and pick a kit. This very course is the worked example.

    6 objectives · 3 readings · 26m
  8. 08
    8.8 Accessibility & inclusive basics ★ core

    Accessible UI is just well-built UI — semantic HTML, keyboard reach, contrast, touch targets. It's also where AI is laziest. Learn the non-negotiables.

    6 objectives · 3 readings · 26m
  9. 09
    8.9 Directing AI to build good frontends ★ core

    Everything in this module turns into leverage here. Write a frontend brief, name the build precisely, give a visual reference, and review/critique AI output before you ship it.

    6 objectives · 3 readings · 28m

Section assessment

Harder, multi-concept questions drawn from across the module. Aim for 75%.

section assessment12 questions · pass ≥ 75%
  1. 01medium

    React is a UI library; Next.js / Astro are…

  2. 02medium

    A strong frontend prompt to an AI should name… (select all)

  3. 03medium

    A setting that takes effect the instant you flip it should be a…

  4. 04medium

    A comfortable line length (measure) for body text is about…

  5. 05medium

    You need a wrapping row of tags. Flexbox or grid?

  6. 06medium

    “Mobile-first” means…

  7. 07medium

    Why prefer a skeleton screen over a spinner while content loads?

  8. 08medium

    Optimistic UI (showing the result before the server confirms) needs a rollback path.

  9. 09medium

    A complex, multi-step, shareable (deep-linkable) flow should be a…

  10. 10medium

    For findable, referenceable data (e.g. search results), prefer…

  11. 11medium

    Which component kit gives you unstyled, accessible primitives you style yourself?

  12. 12medium

    WCAG AA requires body text to have a contrast ratio of at least…