Project Scaffold
Set up the file structure, design tokens, and base CSS. This is the foundation every other milestone builds on. Get the tokens right and the rest falls into place.
Create a portfolio website project with this structure:
index.html
assets/css/style.css
assets/js/main.js
In style.css, set up CSS custom properties as a design system:
- Dark background (#0a0a0a), light text (#ffffff), secondary text (#b0b0b0)
- Font stacks: a monospace font for code/labels, system-ui for body text,
and a bold display font for headings
- Spacing scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px
- Type scale: 0.75rem, 0.875rem, 1rem, 1.25rem, 1.5rem, 2rem, 3rem
- Border colors: subtle (#1a1a1a), default (#303030), strong (#505050)
- Transitions: fast (0.15s), base (0.2s), slow (0.3s)
- A full CSS reset (box-sizing, margin, padding)
In index.html, set up a minimal HTML5 document with lang="en",
viewport meta, and links to the stylesheet and script. Leave the
body empty for now. We will fill it in the next steps.
Do not add any content yet. This is only the scaffold.
- All three files exist at the correct paths
- CSS custom properties are defined on
:root - Spacing scale has at least 6 steps, type scale has at least 5
- CSS reset applies
box-sizing: border-boxto all elements - HTML has
lang="en"and the viewport meta tag