Project Scaffold
Set up the file structure, design tokens, and base CSS. A resume site needs a refined, minimal palette that puts content first.
Create a project scaffold for a personal resume / CV website:
FILES:
- index.html
- assets/css/style.css
- assets/js/main.js
In style.css, define CSS custom properties on :root:
- Font families: a clean sans-serif for body, a slightly
heavier sans-serif or elegant serif for headings
- Type scale: at least 6 steps from sm to 5xl
- Spacing scale: at least 8 steps from xs to 5xl
- Colors: a neutral, professional palette. Dark background,
light text, one subtle accent color for links and
highlights (a muted blue or teal works well)
- Border radii: sm (4px), md (8px), lg (16px), full (9999px)
- Transitions: fast (0.15s), base (0.2s), slow (0.3s)
- Max content width: 900px (resume sites should be narrow
and readable, like a real document)
- 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.
- All three files exist at the correct paths
- CSS custom properties are defined on
:root - Max content width is 900px or narrower
- CSS reset applies
box-sizing: border-boxto all elements - HTML has
lang="en"and the viewport meta tag