Preview the prompt +
# Build brief — an original marketing website in the taste of Code.org
> Reference: https://code.org · UIDiscovery: https://uidiscovery.com/sites/code-org · captured 2026-09-23 at a 1440px desktop viewport · [full page](https://uidiscovery.com/media/captures/code-org/full.webp) · [scroll video](https://uidiscovery.com/media/captures/code-org/preview.mp4)
## 1. Goal
Build an original marketing website for **[the user's brand]** that feels as considered as Code.org — same structure, rhythm and polish, entirely new identity and content.
## 2. Originality rules
- Build an ORIGINAL design for the user's own brand in the same *taste* as Code.org: structure, rhythm, hierarchy, palette mood and type pairing.
- Never reuse Code.org's logo, name, product imagery, illustrations, icons, screenshots or copy. Write new copy for the user's product.
- If the user hasn't said what their product is, ask first (or use clearly marked placeholders like [Brand], [Product], [Audience]).
- Reference screenshots are for looking at, not for embedding or tracing.
## 3. The taste, in short
- Code.org (code.org): Lifestyle marketing website, dark, colorful.
- 15 sections: Hero → Content → Features → Content → Call to action → Content → Features → Content → Statement → Blog → Call to action → Features → Footer.
- Spacing: short, dense bands (median section ≈420px).
- Hero headline: 9 words — a full sentence; keep yours to one thought.
- Type: Space Grotesk headings over Times body. Imagery: mostly typography with little or no imagery, some photography.
## 4. Page structure (top to bottom)
### 1. Hero — state what the product is and for whom in one glance, and offer the primary action.
- Layout: headline-led stack: eyebrow → H1 → supporting line → actions, with a visual beside or below. Half to one screen (518px at 1440), page background; 1 image/graphic; primary + secondary button.
- Slots: Eyebrow / announcement pill (optional); H1 (~9 words, like the reference); Supporting line, 1–2 sentences; Primary + secondary action; Hero visual (see image plan).
- Topic (tone/length only — never reuse): “Students already use AI. They should understand it too.”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-01.webp) · imagery: slot 1
### 2. Content — supporting content that deepens one idea.
- Layout: text + media block. Compact band (173px at 1440), own light band #ffffff; no images (type-led); no interactive controls.
- Slots: Heading (~5 words, like the reference); Body copy.
- Topic (tone/length only — never reuse): “Digital fluency for every student,”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-02.webp)
### 3. Content — supporting content that deepens one idea.
- Layout: text + media block. Half to one screen (420px at 1440), own light band #ffffff; 1 image/graphic; 4 text links instead of buttons.
- Slots: Heading (~3 words, like the reference); Body copy; Supporting visual (see image plan); Text link action.
- Topic (tone/length only — never reuse): “Curriculum”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-03.webp)
### 4. Features — explain the key benefits, grouped so each can be scanned in seconds.
- Layout: section title over a grid or alternating rows of benefit items. Half to one screen (676px at 1440), page background; 3 image/graphics; one primary button; 4 headings → ~3 items under a title.
- Slots: Section title (~6 words, like the reference); 3 items: icon or visual + short title + 1–2 line description; One primary action.
- Topic (tone/length only — never reuse): “New curriculum for a new standard”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-04.webp)
### 5. Features — explain the key benefits, grouped so each can be scanned in seconds.
- Layout: section title over a grid or alternating rows of benefit items. Half to one screen (463px at 1440), page background; 1 image/graphic; one primary button.
- Slots: Section title (~11 words, like the reference); 3 items: icon or visual + short title + 1–2 line description; One primary action.
- Topic (tone/length only — never reuse): “What difference does a single digital sciences course make for students?”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-05.webp)
### 6. Content — supporting content that deepens one idea.
- Layout: text + media block. Half to one screen (484px at 1440), page background; no images (type-led); one primary button.
- Slots: Heading (~3 words, like the reference); Body copy; One primary action.
- Topic (tone/length only — never reuse): “Impact”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-06.webp)
### 7. Call to action — close the page with one clear next step.
- Layout: short headline + one primary action on a contrasting band. Compact band (318px at 1440), own light band #ffffff; 1 image/graphic; one primary button.
- Slots: Headline (~3 words, like the reference); One sentence of support; One primary action.
- Topic (tone/length only — never reuse): “Teachers”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-07.webp)
### 8. Content — supporting content that deepens one idea.
- Layout: text + media block. Compact band (318px at 1440), own light band #ffffff; 1 image/graphic; one primary button.
- Slots: Heading (~3 words, like the reference); Body copy; Supporting visual (see image plan); One primary action.
- Topic (tone/length only — never reuse): “Advocates”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-08.webp)
### 9. Features — explain the key benefits, grouped so each can be scanned in seconds.
- Layout: section title over a grid or alternating rows of benefit items. Compact band (318px at 1440), own light band #ffffff; 1 image/graphic; one primary button.
- Slots: Section title (~3 words, like the reference); 3 items: icon or visual + short title + 1–2 line description; One primary action.
- Topic (tone/length only — never reuse): “Donors”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-09.webp)
### 10. Content — supporting content that deepens one idea.
- Layout: text + media block. Compact band (400px at 1440), page background; 1 image/graphic; no interactive controls.
- Slots: Heading (~3 words, like the reference); Body copy; Supporting visual (see image plan).
- Topic (tone/length only — never reuse): “Who we are”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-10.webp)
### 11. Statement — a large-type moment that sets tone and pace.
- Layout: oversized typography with lots of space. Compact band (362px at 1440), page background; no images (type-led); no interactive controls.
- Slots: Heading; Body copy.
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-11.webp)
### 12. Blog — signal an active, credible team through recent writing.
- Layout: 3-up card grid: image, title, meta. Half to one screen (744px at 1440), page background; 8 images/icons (a set of cards or a small gallery); 3 buttons (tabs, toggles or per-card actions); 6 headings → ~5 items under a title.
- Slots: Title + “All posts” link; 3 post cards: cover image, title, date/author.
- Topic (tone/length only — never reuse): “Latest from CodeAI”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-12.webp)
### 13. Call to action — close the page with one clear next step.
- Layout: short headline + one primary action on a contrasting band. Half to one screen (417px at 1440), page background; 18 image elements (photo collage/gallery + small graphics); primary + secondary button.
- Slots: Headline (~6 words, like the reference); One sentence of support; Primary + secondary action.
- Topic (tone/length only — never reuse): “Digital fluency is a global effort.”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-13.webp) · imagery: slot 2
### 14. Features — explain the key benefits, grouped so each can be scanned in seconds.
- Layout: section title over a grid or alternating rows of benefit items. Half to one screen (707px at 1440), page background; 1 image/graphic; one primary button.
- Slots: Section title (~8 words, like the reference); 2 items: icon or visual + short title + 1–2 line description; One primary action.
- Topic (tone/length only — never reuse): “No cost to use. Real cost to build.”
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-14.webp) · imagery: slot 3
### 15. Footer — navigation, legal and contact — the page's index.
- Layout: multi-column link groups, brand line, legal row. Half to one screen (472px at 1440), own light band #ffffff; 3 image/graphics; inline form (1 field, e.g. email capture), 32 links (link lists / navigation).
- Slots: Brand mark + one-line description; 3–5 link columns; Newsletter or contact (optional); Legal row + social icons.
- [Screenshot](https://uidiscovery.com/media/captures/code-org/s-15.webp)
Inner pages also captured (About, Blog, Security): https://uidiscovery.com/sites/code-org?view=pages
## 5. Design system
### Colour
| Role | Hex | Use | Contrast on background |
|---|---|---|---|
| background | `#000000` | page background | — |
| foreground | `#ffffff` | body text, headings | 21.0:1 |
| accent | `#0099f3` | primary buttons, links, highlights — sparingly | 6.9:1 |
| surface | `#1f1976` | cards, inputs, alternate bands | text on it 14.4:1 |
| muted | `#4c42cf` | secondary text, borders | 3.0:1 — borders / large text only |
Captured palette: `#000000` `#4c42cf` `#1f1976` `#ffffff` `#06338d` `#0099f3`. Roles are assigned automatically — sanity-check them against the screenshot. Keep the palette's *mood* (dark, cool) and proportions; swap the accent for the user's brand colour.
### Tokens
```css
:root {
--background: #000000;
--foreground: #ffffff;
--accent: #0099f3;
--surface: #1f1976;
--muted: #4c42cf;
--font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
--font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
--radius: 12px; /* calibrate from the screenshot */
}
/* Tailwind v4 — in globals.css after @import "tailwindcss"; */
@theme {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-accent: var(--accent);
--color-surface: var(--surface);
--color-muted: var(--muted);
--font-heading: var(--font-heading);
--font-sans: var(--font-body);
}
```
### Typography
- Headings: **Space Grotesk** (Google Fonts) — reference uses Space Grotesk. Free to use — load it directly.
- Body: **Inter** (Google Fonts) — reference uses Times. Capture reported the browser default (Times), which usually means the web font did not load during capture. Identify the real face from the screenshot; Inter is a safe neutral start.
- Scale (starting point, sizes weren't measured — calibrate against the 1440px screenshot): display clamp(2.5rem, 5vw, 4.25rem), h2 clamp(1.75rem, 3vw, 2.5rem), h3 1.25rem, body 1rem–1.125rem / 1.6, small 0.875rem. Headings: tight tracking (-0.02em), line-height 1.05–1.15.
### Spacing & rhythm
Sections run ≈420px tall at 1440 (median; range 173–744px, captures cap at 1700px) — short, dense bands. Start with 64–80px vertical padding per section on desktop and about two-thirds of that on mobile. One continuous background — separate sections with space and type, not colour bands. 8px spacing grid, 1200–1280px max content width, 24px (mobile) / 32–48px (desktop) gutters.
### Shape, depth & theme
Confident colour blocks — let full-bleed colour bands and big shapes carry the personality. Read exact corner radius, border and shadow treatment from the screenshots. Dark-first; for a light mode swap background ↔ foreground, lighten the surface, keep the accent and re-check contrast.
## 6. Imagery plan
Measured from 13 section screenshots: mostly **typography with little or no imagery**, some photography (dark, cool, Lifestyle). Still glance at the linked screenshots to match the exact mood.
### Slot 1 · 1. Hero → photography
- Photography, seen in the capture (people). (measured from the screenshot) Count: 1. Aspect: 3:2. Look first: [ref 1](https://uidiscovery.com/media/captures/code-org/s-01.webp)
- **Stock** — “cozy home interior morning light dark”: [Unsplash](https://unsplash.com/s/photos/cozy-home-interior-morning-light-dark?orientation=landscape) · [Pexels](https://www.pexels.com/search/cozy%20home%20interior%20morning%20light%20dark/?orientation=landscape) · [Pixabay](https://pixabay.com/images/search/cozy%20home%20interior%20morning%20light%20dark/?orientation=horizontal)
- **Generate** — `Photograph: cozy home interior morning light. Composition: wide shot, subject off-centre to one side, generous clean negative space for the headline. Lighting: low-key, moody directional light with deep shadows. Cool colour grade that sits on #000000, #0099f3, #1f1976. Photorealistic, natural textures, shallow depth of field, 35mm lens. Aspect ratio 3:2. No text, no letters, no logos, no watermarks, no brand marks or trademarked products, no recognisable real people.`
### Slot 2 · 13. Call to action → photography
- Photography, seen in the capture (sticky note). (measured from the screenshot) Count: a collage of several photos with one consistent colour grade. Aspect: 21:9 (background). Look first: [ref 1](https://uidiscovery.com/media/captures/code-org/s-13.webp)
- **Stock** — “cozy home interior morning light wide shot dark”: [Unsplash](https://unsplash.com/s/photos/cozy-home-interior-morning-light-wide-shot-dark?orientation=landscape) · [Pexels](https://www.pexels.com/search/cozy%20home%20interior%20morning%20light%20wide%20shot%20dark/?orientation=landscape) · [Pixabay](https://pixabay.com/images/search/cozy%20home%20interior%20morning%20light%20wide%20shot%20dark/?orientation=horizontal)
- **Generate** — `Photograph: cozy home interior morning light wide shot. Composition: low-detail texture so overlaid text stays readable. Lighting: low-key, moody directional light with deep shadows. Cool colour grade that sits on #000000, #0099f3, #1f1976. Photorealistic, natural textures, shallow depth of field, 35mm lens. Aspect ratio 21:9. No text, no letters, no logos, no watermarks, no brand marks or trademarked products, no recognisable real people.`
### Slot 3 · 14. Features → photography
- Lifestyle references lean on photography. Count: 1. Aspect: 4:3. Look first: [ref 1](https://uidiscovery.com/media/captures/code-org/s-14.webp)
- **Stock** — “hands holding coffee cup wide shot dark”: [Unsplash](https://unsplash.com/s/photos/hands-holding-coffee-cup-wide-shot-dark?orientation=landscape) · [Pexels](https://www.pexels.com/search/hands%20holding%20coffee%20cup%20wide%20shot%20dark/?orientation=landscape) · [Pixabay](https://pixabay.com/images/search/hands%20holding%20coffee%20cup%20wide%20shot%20dark/?orientation=horizontal)
- **Generate** — `Photograph: hands holding coffee cup wide shot. Composition: tight crop, identical framing and background across the whole set. Lighting: low-key, moody directional light with deep shadows. Cool colour grade that sits on #000000, #0099f3, #1f1976. Photorealistic, natural textures, shallow depth of field, 35mm lens. Aspect ratio 4:3. No text, no letters, no logos, no watermarks, no brand marks or trademarked products, no recognisable real people.`
- **No imagery (type-led)** — 2. Content, 3. Content, 4. Features, 5. Features, 6. Content, 7. Call to action, 8. Content, 9. Features, 10. Content, 11. Statement, 12. Blog: No imagery needed — type, spacing and colour do the work. If the screenshot shows a background graphic, rebuild it in CSS (gradient, grid, noise) or a short muted video, not a stock photo.
- **Icons** — 15. Footer: Use one open-source icon set at one stroke weight — Lucide, Phosphor or Heroicons (MIT) — tinted with the text or accent token. Social icons: Simple Icons.
### If the screenshots show a different style
Open the refs first and name what you actually see (photo / product UI / illustration / abstract gradient or 3D / type only). If it differs from the guess, switch routes — UI is built in code, type-only needs no image, otherwise:
- **abstract 3D / gradient** — generate `Abstract 3D render: soft, glossy glass-like shapes and a smooth gradient in #0099f3 and #4c42cf on a #000000 background. Lighting: low-key, moody directional light with deep shadows; cool tone. Minimal and calm, generous negative space on one side for text. Aspect ratio 3:2. No text, no letters, no logos, no watermarks, no brand marks or trademarked products, no recognisable real people.` · stock: [“abstract dark gradient 3d” on Unsplash](https://unsplash.com/s/photos/abstract-dark-gradient-3d?orientation=landscape) (same query works on Pexels/Pixabay)
- **illustration** — generate `Flat vector illustration: cozy home interior morning light, friendly simplified shapes, limited palette of #000000, #0099f3, #1f1976 plus one soft neutral, plenty of empty background, consistent line weight, cool mood. Aspect ratio 3:2. No text, no letters, no logos, no watermarks, no brand marks or trademarked products, no recognisable real people.` · stock: [“lifestyle flat illustration” on Unsplash](https://unsplash.com/s/photos/lifestyle-flat-illustration?orientation=landscape) (same query works on Pexels/Pixabay)
- **Licences:** Unsplash and Pexels images are free for commercial use under their own licences; Pixabay under the Pixabay Content License. Check each image's page before use, credit the photographer when asked (good practice anyway), and skip images showing logos, trademarks, branded products or identifiable people without a release.
- **AI generation:** the prompts work with any image model (GPT Image, Imagen, Flux, Midjourney, Firefly, SDXL…) — check its commercial-use terms. Never put the reference brand's name or “in the style of <brand>” in a prompt.
- **Never** download, trace or re-host the reference's own images, illustrations, product shots or logos.
## 7. Build steps
1. Confirm brand, product, audience and the primary action with the user.
2. Set up the tokens (CSS variables / Tailwind @theme) and load the fonts.
3. Build the sections in order, mobile-first, with each reference screenshot open.
4. Write original copy for every slot — match length and tone, never the words.
5. Source every image via the imagery plan (stock or generated); compress it and record credits.
6. Run the checklist at 390 / 768 / 1440px and fix what fails.
## 8. Acceptance checklist
- [ ] Responsive at 390px, 768px and 1440px — no horizontal scroll, tap targets ≥ 44px on mobile.
- [ ] Colour contrast WCAG AA: 4.5:1 body text, 3:1 large text and UI; visible focus states; full keyboard navigation.
- [ ] Semantic HTML: one <h1>, ordered headings, landmarks (header/nav/main/footer), labelled form fields, alt text on meaningful images.
- [ ] Performance: modern image formats with width/height set, lazy-load below the fold, ≤ 2 font families with font-display: swap, LCP < 2.5s.
- [ ] prefers-reduced-motion respected; animations under ~300ms and never blocking content.
- [ ] Originality: no copied logos, images, illustrations or copy from the reference; every image licensed or generated; credits recorded.
## 9. If you use Next.js + Tailwind
Paste the @theme block into globals.css, load fonts with next/font/google, make each section a server component in components/sections/, use next/image with explicit sizes, and keep client components for interactive bits only (menus, toggles, accordions).
---
More: tokens https://uidiscovery.com/api/v1/sites/code-org/tokens · kit https://uidiscovery.com/api/v1/sites/code-org/kit · MCP `get_design_brief({ slug: "code-org" })`, `get_image_plan({ slug: "code-org" })`. Cite the reference as https://uidiscovery.com/sites/code-org.