Home Benchmarks Learn Tools News
COURSE

Course Website

8 prompts. Paste each one into your AI coding agent, verify the output, move on.

MILESTONES

01

Project Scaffold

Set up the file structure, design tokens, and base CSS. A course page needs warm, trustworthy colors that say "invest in yourself."

/* tokens + reset ready */
PROMPT
Create a project scaffold for an online course sales page:

FILES:
- index.html
- assets/css/style.css
- assets/js/main.js

In style.css, define CSS custom properties on :root:
- Font families: a premium serif or rounded sans-serif for
  headings, a clean sans-serif for body text
- Type scale: at least 6 steps from sm to 5xl
- Spacing scale: at least 8 steps from xs to 5xl
- Colors: a warm primary (amber, orange, or gold works well
  for courses), a high-contrast CTA color (green for "enroll"),
  neutral grays, dark background, white surface
- Border radii: sm (4px), md (8px), lg (16px), full (9999px)
- Shadows: sm, md, lg for card elevation
- Transitions: fast (0.15s), base (0.2s), slow (0.3s)
- Max content width: 1100px
- 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.
VERIFY BEFORE CONTINUING
  • All three files exist at the correct paths
  • CSS custom properties are defined on :root
  • Color palette includes a warm primary and a CTA green
  • CSS reset applies box-sizing: border-box to all elements
  • HTML has lang="en" and the viewport meta tag
02

Navigation & Hero

The hero sells the transformation. Lead with the outcome the student will achieve, not the course features.

students hours rating
PROMPT
Build the navigation and hero for this course sales page:

NAVIGATION:
- Sticky header that stays visible on scroll
- Course name or logo on the left
- Nav links: Curriculum, Instructor, Pricing, FAQ
- CTA button on the right: "Enroll Now" with a filled
  background using the CTA color
- Use <header> and <nav> with aria-label="Main navigation"
- Mobile: collapse links into a hamburger <button> with
  aria-expanded. Keep the CTA visible outside the menu.

HERO (two-column layout):
- Left column (text):
  - Small eyebrow text: course category (e.g. "ONLINE COURSE")
  - Large <h1>: outcome-focused headline, e.g.
    "Master [Skill] in 30 Days"
  - 2-sentence description of the transformation
  - Primary CTA: "Enroll Now" (large, filled button)
  - Stats row below the CTA: 3 metrics side by side
    (e.g. "2,400+ students", "12 hours", "4.9 ★ rating")

- Right column (media):
  - A video placeholder (16:9 aspect ratio container)
  - Center a play button icon inside it
  - Use a dark background with a subtle border

RESPONSIVE:
- Stack to single column on mobile (text above, video below)
- Stats row wraps naturally with flexbox

Use CSS custom properties for all values. BEM naming.
VERIFY BEFORE CONTINUING
  • Header stays fixed on scroll without covering content
  • Page has exactly one <h1>
  • Video placeholder maintains 16:9 aspect ratio
  • Layout stacks to single column on mobile
  • Stats row uses real text, not images
03

Curriculum

Show exactly what students will learn. Expandable modules with lesson lists give buyers confidence in the depth of your content.

MODULE 1 − 8 min 12 min 15 min MODULE 2 + MODULE 3 + MODULE 4 +
PROMPT
Build the curriculum section for this course sales page:

LAYOUT:
- Section <h2>: "What you'll learn"
- Subtitle: total number of modules, lessons, and hours
- Centered, max-width 800px container
- Add id="curriculum" for anchor navigation

MODULE ACCORDION:
- Use native <details> and <summary> for each module
- 4-5 modules with placeholder content
- Each <summary> shows:
  - Module number label (e.g. "MODULE 1")
  - Module title
  - Lesson count on the far right (e.g. "5 lessons")
  - Custom +/− indicator using ::after pseudo-element
- Inside each <details>, show a lesson list:
  - Each lesson is a row with a circle icon (play or
    checkmark), lesson title, and duration on the right
  - Use an <ol> for the lesson list

STYLING:
- Hide the default <details> disclosure triangle
- Modules separated by subtle borders
- Expanded module has a slightly different background
- Lesson rows have padding and hover states
- Duration text is muted and right-aligned

Include a total count summary at the bottom:
"5 modules · 32 lessons · 12 hours of content"
VERIFY BEFORE CONTINUING
  • Modules use native <details> and <summary>
  • Default disclosure triangle is hidden
  • Lesson lists use ordered lists (<ol>)
  • Each module expands and collapses independently
  • Section has id="curriculum" for anchor navigation
04

Instructor & Proof

People buy from people they trust. Show the instructor's credentials and let past students do the convincing.

" "
PROMPT
Build the instructor and social proof section:

INSTRUCTOR BIO:
- Section <h2>: "Meet your instructor"
- Two-column layout:
  - Left: circular photo placeholder (200x200)
    using <img> inside a rounded container
  - Right: instructor name (<h3>), title/role,
    and a 3-4 sentence bio paragraph
  - Add 2-3 credential badges below the bio
    (e.g. "10+ years experience", "50k+ students taught")
- Add id="instructor" for anchor navigation

STUDENT TESTIMONIALS:
- Subheading <h3>: "What students are saying"
- 2-column grid of testimonial cards (stack on mobile):
  - Each card uses <figure>, <blockquote>, <figcaption>
  - Star rating (5 stars using ★ characters)
  - Quote text (2-3 sentences)
  - Student avatar placeholder, name, and outcome
    (e.g. "Landed a frontend role at Google")
- Decorative quotation mark via CSS ::before
- 4 testimonials total

Keep backgrounds consistent with the page.
Use BEM naming for CSS classes.
VERIFY BEFORE CONTINUING
  • Instructor photo is a placeholder <img> with meaningful alt
  • Testimonials use <figure>, <blockquote>, <figcaption>
  • Star ratings use text characters, not images
  • Layout stacks on mobile
  • Heading hierarchy maintained
05

Pricing

One focused pricing card with a clear breakdown of what's included. Add a money-back guarantee to remove risk.

✓ ✓ ✓ ✓ ✓ 30-day money-back guarantee
PROMPT
Build the pricing section for this course sales page:

LAYOUT:
- Section <h2>: "Invest in your future"
- Centered, single pricing card (max-width 480px)
- Add id="pricing" for anchor navigation

PRICING CARD:
- Large price at the top: "$199" with a small "one-time" label
- Optional: show a crossed-out original price ("$399")
- A divider line
- "What's included" checklist using <ul>:
  - 32 video lessons (12+ hours)
  - Downloadable project files
  - Private community access
  - Certificate of completion
  - Lifetime updates
  - 1-on-1 bonus Q&A session
- Each item has a ✓ prefix
- Large CTA button: "Enroll Now" (full-width, filled)

GUARANTEE:
- Below the card, add a guarantee badge:
  - Shield icon (inline SVG) + text:
    "30-day money-back guarantee. No questions asked."
  - Centered, muted text, smaller font size

The card should have a prominent border or shadow to
stand out from the page background.
VERIFY BEFORE CONTINUING
  • Pricing card is centered with a clear visual boundary
  • Checklist uses proper <ul>/<li> markup
  • CTA button is full-width inside the card
  • Guarantee text is visible below the card
  • Section has id="pricing" for anchor navigation
06

FAQ

Handle the "but what if" questions that stop people from buying. Every unanswered objection is a lost enrollment.

+ − + + +
PROMPT
Build the FAQ section for this course sales page:

LAYOUT:
- Section <h2>: "Frequently asked questions"
- Centered, max-width 720px container
- Add id="faq" for anchor navigation

ACCORDION:
- Use native <details> and <summary> elements
- 6 questions specific to course purchases:
  - "Who is this course for?"
  - "Do I need any prior experience?"
  - "How long do I have access to the content?"
  - "What if I don't like the course?"
  - "Are there any prerequisites?"
  - "Do I get a certificate?"
- Each answer should be 2-3 sentences

STYLING:
- Each <details> has a bottom border separator
- <summary> has padding, cursor: pointer, and a
  +/− indicator on the right using ::after
- Hide the default disclosure triangle
- <summary> text is bold, answer text uses muted color
- Answers have top padding when expanded
VERIFY BEFORE CONTINUING
  • FAQ uses native <details> and <summary>
  • Default disclosure triangle is hidden
  • Custom +/− indicator toggles correctly
  • All 6 questions expand and collapse
  • Section has id="faq" for anchor navigation
07

Enrollment CTA & Footer

The final enrollment push. Repeat the core promise, add urgency, and close with a clean footer.

30-day money-back guarantee
PROMPT
Build the final enrollment CTA and footer for this course page:

ENROLLMENT CTA SECTION:
- Full-width section with a distinct background (darker or
  slightly lighter than the page)
- Centered layout:
  - Bold <h2>: "Start learning today"
  - One sentence reinforcing the transformation
  - Large CTA button: "Enroll Now for $199"
  - Guarantee reminder below: "30-day money-back guarantee"
- Generous vertical padding (at least 80px)

FOOTER:
- Use <footer> with role="contentinfo"
- 3-column grid layout:
  - Column 1: Course name, 1-sentence description
  - Column 2: "Course" links (Curriculum, Instructor,
    Pricing, FAQ)
  - Column 3: "Support" links (Contact, Help Center,
    Terms, Privacy)
- Bottom bar with copyright text on left
- Social links on right (Twitter/X, YouTube)
  with aria-label and target="_blank" rel="noopener noreferrer"

RESPONSIVE:
- Footer grid: 3 columns desktop, 1 column mobile
- CTA button full-width on mobile
VERIFY BEFORE CONTINUING
  • CTA section is visually distinct from page background
  • Footer uses <footer> landmark
  • Footer grid collapses on mobile
  • Social links have aria-label and open in new tabs
  • Guarantee text is visible near the CTA
08

Ship It

The final audit: SEO, performance, accessibility, and deployment. A course page that doesn't load fast loses sales.

AUDIT REPORT 98 PERF 100 A11Y 100 SEO 100 BP DEPLOY CHECKLIST Open Graph meta tags JSON-LD Course schema Security headers Cache-Control for assets Canonical URL & sitemap WCAG AA contrast Keyboard navigation Images lazy loaded Heading hierarchy Custom 404 page
PROMPT
Finalize this course sales page for production:

SEO:
- Complete <head> meta tags:
  - <title> matching the h1 + "| [Course Name]"
  - meta description (150-160 characters about the course)
  - Open Graph: og:title, og:description, og:image (1200x630),
    og:url, og:type="website"
  - Twitter card: summary_large_image
  - Canonical URL
  - Favicon and theme-color
- Add JSON-LD structured data using the Course schema:
  name, description, provider, instructor, offers (price,
  currency, availability)
- Verify heading hierarchy: single h1, no skipped levels

PERFORMANCE:
- Add loading="lazy" to all images below the fold
- Add width and height attributes to every <img>
- Add fetchpriority="high" to the hero video placeholder
- Add <link rel="preconnect"> for external font domains
- Minify the CSS

ACCESSIBILITY:
- Color contrast meets WCAG AA (4.5:1 text, 3:1 large text)
- Keyboard navigation: tab through the entire page, verify
  focus order, nothing trapped
- Skip link as first focusable element
- FAQ and curriculum accordions are keyboard-operable
- CTA buttons have descriptive, unique text
- Video placeholder has appropriate alt text

DEPLOYMENT:
- Add a netlify.toml or vercel.json with:
  - Custom 404 page
  - Security headers
  - Cache-Control for static assets
- Create a README.md with project name and deploy instructions
VERIFY BEFORE CONTINUING
  • Heading hierarchy: one <h1>, no skipped levels
  • All below-fold images have loading="lazy"
  • JSON-LD uses the Course schema and is valid
  • Tab through the entire page: focus never gets trapped
  • Lighthouse scores: Performance >90, Accessibility >95, SEO >95
RELATED SKILLS

Level up the skills behind this pack

Each skill is a SKILL.md file you install alongside your codebase. Your AI coding agent reads it before every task, enforcing the same standards this pack is built on.

01
CSS

Modern CSS

Native nesting, container queries, :has(), scroll-driven animations, oklch colors, and CSS layers.

↗
02
HTML

Components

Semantic HTML, ARIA widget patterns, native dialog and Popover API, heading hierarchy, and BEM naming.

↗
03
DESIGN SYSTEM

Design Tokens

Token architecture, consistent scales, oklch color system, dark/light theming, motion tokens, and z-index scales.

↗
04
PERFORMANCE

Performance

Core Web Vitals optimization, image loading, font performance, resource hints, and the Speculation Rules API.

↗
05
ACCESSIBILITY

Accessibility

WCAG 2.2 AA compliance, keyboard navigation, focus management, color contrast, and screen reader patterns.

↗
06
SEO

SEO

JSON-LD structured data, meta tags, Open Graph, canonical URLs, sitemaps, and mobile-first indexing.

↗
STATUS ● BUILDING THE FUTURE
MISSION LLM RESOURCES
VERSION BETA 3.0

BUILD WITH AI. SHIP WITH CONFIDENCE.

@WEBDEVELOPERHQ ↗
TERMS / PRIVACY
FRIENDS
Authentic Jobs ↗
Web Reference ↗
Ready.dev ↗
Fullres ↗
© 2026 WEB DEVELOPER / ALL RIGHTS RESERVED