UNIT 26 • STAGE 5 OF 7

How It Works + Team

3-phase plan cards with CSS counters, and team member cards

UNIT 5 / 7
STEP 1

CSS Counters: Auto-Numbering Without JS

The phase cards display large step numbers (1, 2, 3) in the top-right corner of each card. These are generated automatically by CSS — no HTML attribute, no JavaScript. This is the counter CSS feature: counter-reset initializes a counter on a parent element, counter-increment increments it on each child, and content: counter(name) displays the current value in a ::before pseudo-element.

STEP 2

Add How It Works

👉 CSS counter pattern: .steps-grid { counter-reset: steps; }
.step-card { position: relative; }
.step-card::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: rgba(193,57,43,0.15);
}

Build 3 step cards: Phase 1 (site, fiber, listening sessions), Phase 2 (opening, 60 devices, youth coding), Phase 3 (expansion, 200 homes, open-source curriculum).

STEP 3

Add the Team Section

Three team cards, each with an avatar (initials in a gradient circle), name, role, and a short bio. The avatar uses background: linear-gradient(135deg, var(--red), var(--gold)) — a simple way to make text avatars look intentional.

Stage 5 Complete

The site now answers the three pitch questions: why (stats), what (problem/solution), and how (phases + team).

Code Editor
Live Preview