Building Static Sites with ChatGPT: Practical Prompting Methods

Author
Fei Wang
Published
Affiliations
The AI Engineer

AI tools like ChatGPT promise to build apps in minutes, but the reality is more nuanced. This entry-level guide teaches you the structured prompting methods and communication frameworks needed to effectively use ChatGPT for creating static websites—from blogs to CVs to brochure sites.

In this guide, we’ll walk through building a personal story page—“My Journey to Student Advisor”—from a simple prompt to a polished, professional design. You’ll learn not just what prompts to use, but how to think about iterative refinement: identifying what needs improvement, communicating changes precisely, and adapting the process to your actual needs.

Below, explore the journey in three stages: the initial prompt, ChatGPT’s first result, and the final polished design. Then we’ll break down exactly how to get from start to finish using the vocabulary and techniques you learned earlier.

Building: Personal Story Site | Step 1: Start Simple

ChatGPT Prompt

Create a single-page website: "My Journey to Student Advisor" Make it personal and inspiring. Include: - Where I started: Teaching assistant background, wanted deeper student impact - Turning point: First one-on-one advising session that changed everything - Key lessons learned: - Every student's path is unique - Listening matters more than advice - Small guidance creates big impact - Advice for aspiring advisors - Clean, warm design Use HTML, CSS and vanilla JavaScript. Show me the page so we can work on it together.

Why This Works

Clear structure - AI knows what to build
Features specified - but not over-detailed
Room for iteration - enhance step by step
Avoid:
Too vague: "Create a website"
Too detailed: 500+ words
Tech Stack:
HTML Content
CSS Design
JS Interactivity

Understanding AI Results

Large Language Models (LLMs) like ChatGPT are probabilistic models. This means even with the exact same prompt, they can generate different results each time. Think of it as creative variation—not a bug, but a feature that offers multiple solutions to explore.

What to Look For

When you see ChatGPT's result, take notes on:

  • What works: Colors, layout, specific text, visual style you like
  • What to change: Spacing issues, font choices, missing elements
  • Specific elements: Be precise—"the header font" not "the text"

The next section provides terminologies and feedback templates to help you communicate clearly.

Result: My Journey to Student Advisor - First Result
ChatGPT result: My Journey to Student Advisor - First Result

The Transformation

This is a simple example, but notice the change: the page feels more elegant, clean, and well-organized.

The layout guides your eye through the story, professional imagery adds visual interest, and interactive elements reveal information progressively.

Small, intentional changes compound into a polished result.

Result: My Journey to Student Advisor - Final Design
ChatGPT result: My Journey to Student Advisor - Final Design

Don't Know How to Start?

Use this meta-prompt to generate your own initial prompt. Just replace [YOUR TOPIC] with your subject, paste this into ChatGPT, and it will create a customized prompt for you.

Meta-Prompt Template
I want to create a single-page website about: [DESCRIBE YOUR TOPIC]

Here's an example prompt structure that works well:

---
Create a single-page website: "My Journey to Student Advisor"

Make it personal and inspiring. Include:
- Where I started: Teaching assistant background, wanted deeper student impact
- Turning point: First one-on-one advising session that changed everything
- Key lessons learned:
- Every student's path is unique
- Listening matters more than advice
- Small guidance creates big impact
- Advice for aspiring advisors
- Clean, warm design

Use HTML, CSS and vanilla JavaScript. Show me the page so we can work on it together.
---

Based on this example, create a customized prompt for my topic: [YOUR TOPIC]

Keep the same structure but adapt:
- The website title and theme
- The specific content sections
- The key messages or lessons
- The overall tone and style

Give me a complete, ready-to-use prompt I can copy to ChatGPT.

How to Use:

  1. Copy the template above
  2. Replace [YOUR TOPIC] with your subject (e.g., "My Journey to Data Science", "Our Team's Process Improvement")
  3. Paste into ChatGPT
  4. ChatGPT will generate a customized initial prompt for your topic
  5. Use that generated prompt to create your website

The biggest challenge most people face isn’t getting ChatGPT to generate a website—it’s communicating what needs to change. You might look at the result and know something feels “off,” but struggle to articulate exactly what. This vocabulary gap creates a bottleneck: you iterate slowly because feedback like “make it look better” or “fix the spacing” is too vague for the AI to act on precisely. The solution? Learn the essential design vocabulary that lets you describe exactly what you see and how you want it to feel.

Essential Design Vocabulary

Layout, color, and typography are the three foundational dimensions of web design. Understanding these concepts—and the words to describe them—transforms vague feedback into actionable instructions that ChatGPT can execute immediately. Below you’ll find comprehensive vocabulary for each dimension, helping you communicate exactly what you see and how you want it to feel.

Layout and spacing form the foundation of any website's visual structure. They control how content is organized, how elements relate to each other, and ultimately how the page feels to read.

What It Is

Grid & Columns
Content
Whitespace
Margin
Padding
Content
Padding & Margin
Left aligned
Centered
Right aligned
Alignment

How It Feels

Generous Spacing →

airy spacious breathable open elegant refined sophisticated premium polished luxurious expansive dignified
clean minimal uncluttered zen calm serene peaceful roomy uncrowded light
contemporary fresh modern sleek graceful liberating

Balanced & Organized →

organized structured systematic clear harmonious balanced proportional readable comfortable consistent coherent orderly symmetrical neat tidy well-composed

Tight Spacing →

dense compact efficient information-rich detailed concentrated packed condensed
cozy intimate contained snug economical space-saving

What to Avoid →

cramped cluttered chaotic overwhelming busy messy squeezed disorganized suffocating unbalanced poorly-spaced

Example: Putting It Into Practice

"Make it look better"
"Add more whitespace between sections to make it feel more airy and elegant"
"The layout feels cramped—increase the padding to make it more breathable"

Color choices define the emotional tone and visual identity of your site. While layout creates structure, color creates mood and personality.

What It Is

Hue: The pure color (red, blue, green, etc.)
Saturation: Intensity or purity of a color
Brightness: How light or dark a color is
Shade: Color + black (darker version)
Tint: Color + white (lighter version)
Tone: Color + gray (muted version)
Palette: Set of colors used together
Accent: Highlight color for emphasis
Primary: Main color(s) in the design
Complementary: Opposite colors on color wheel
Analogous: Adjacent colors on color wheel

Tools to Explore Colors

How It Feels

Temperature →

warm cool neutral inviting cozy cold hot heated icy frosty

Energy & Intensity →

vibrant muted bold soft intense subdued saturated desaturated pastel neon striking punchy dull flat lively energizing lifeless washed-out rich deep

Mood & Atmosphere →

cheerful calm energetic sophisticated playful serene professional dynamic peaceful friendly elegant luxurious casual relaxed formal inviting welcoming sterile moody dramatic understated

Visual Quality →

bright dark light deep earthy natural crisp faded sharp soft harsh gentle rich pale vivid subtle timid

Example: Putting It Into Practice

"Change the colors"
"Use warmer, more vibrant accent colors to make the design feel more energetic"
"The current palette feels too bright—try muted, earthy tones for a more sophisticated look"

Typography shapes readability and personality. The right font choices make content inviting and accessible, while poor typography frustrates readers.

What It Is

Font family: The typeface design (Arial, Helvetica, Georgia)
Font weight: Thickness of characters (100-900, thin to bold)
Light (300) Regular (400) Bold (700)
Font size: Height of text (measured in px, rem, or em)
Small Regular Large
Line height: Vertical space between lines of text
Tight spacing between lines of text Normal spacing between lines of text
Letter spacing: Horizontal space between characters
Tight Normal Wide
Serif: Fonts with decorative strokes (Times, Georgia)
Serif example
Sans-serif: Fonts without strokes (Arial, Helvetica)
Sans-serif example
Monospace: Fixed-width fonts (used for code)
Code example
Heading hierarchy: H1 (largest) to H6 (smallest)
Body text: Main paragraph content

Tools to Explore Fonts

How It Feels

Weight & Presence →

bold light heavy delicate strong thin thick substantial subtle dramatic imposing airy weightless grounded commanding understated

Style & Era →

elegant modern classic traditional contemporary vintage retro timeless trendy futuristic nostalgic minimalist ornate decorative simple elaborate artisanal

Readability →

readable legible clear crisp sharp accessible comfortable easy-to-read scannable digestible inviting approachable dense concise flowing

Mood & Tone →

professional casual friendly formal playful serious approachable authoritative warm technical sophisticated relaxed uptight stiff loose conversational academic corporate creative

Quality →

polished refined clean sophisticated crisp premium sharp sleek rough amateur crafted professional-looking unfinished

Example: Putting It Into Practice

"Change the font"
"Use a more elegant serif font for headings to make it feel sophisticated"
"Increase the line height in body text to make it more readable and comfortable"

Beyond Flat Pages: Dimensional Design Patterns

Now that you have the vocabulary to describe visual elements, let’s explore how to organize them across space and depth. Most people think of web pages as flat, scrolling documents—but the best websites leverage three dimensions:

This third dimension is where patterns like tabs, modals, and sidebars live. They manipulate the Z-axis to create spatial hierarchy—organizing information not just by size or position, but by layer and interaction. This is the foundation of information architecture and progressive disclosure: showing the right information at the right time, without overwhelming users.

The patterns below aren’t just UI components—they’re dimensional organization tools. Each one controls how users navigate space, reveal content, and focus attention. Understanding when and how to use them transforms your ability to design (and communicate with ChatGPT about) complex interfaces.

Applying the Vocabulary: Step-by-Step Refinement

Now let’s apply everything you’ve learned. Below is a refinement process showing how to iterate on our student advisor story page using the vocabulary and patterns from earlier sections. These prompts are examples - your ChatGPT outputs will vary, so adapt them based on what you actually see. Focus on the thinking process and how precise vocabulary transforms into actionable instructions.

Review Content & Key Messages

Before jumping into design, take time to think

Consider These Questions:

  • What are the 2-3 key messages I want visitors to remember?
  • Is my content organized in a logical flow that's easy to follow?
  • Does each section serve a clear purpose, or is there unnecessary information?
  • Are my main points distinct from each other and clearly articulated?
  • Could any section be more concise or impactful?
Need Help? Use This Meta-Prompt (Open a separate ChatGPT conversation)
Meta-Prompt
You are an expert web designer and storyteller. I'm creating a page about [describe your topic].

Here's my current content:
[Paste your content from Step 1 here]

Please help me:
1. Identify my key messages
2. Suggest how to organize the content for maximum impact
3. Point out any unclear or weak parts
4. Recommend what to emphasize or de-emphasize

Be specific and actionable in your suggestions.

Why This Matters:

Content clarity comes before visual design. You can't design well without clear messaging. Taking time to refine your story's structure and key messages now will make all the design steps that follow much more effective.

Make Small, Targeted Changes

Goal: Refine specific elements one at a time

ChatGPT Prompt
Looking at the current page, let's make targeted improvements:

1. Remove unnecessary decorative elements:
 - Remove the "A Person Shaped by Listening" card above the lessons section
 - Remove the "Read my advice" section at the bottom
 - Keep the design minimal and focused on the core story

2. Fix the timeline alignment:
 - The milestone circles aren't aligned with the vertical timeline line
 - Position circles directly centered on the line
 - Make sure milestone text aligns properly with each circle

What Changed:

  • Cleaner, more minimal design by removing unnecessary cards and sections
  • Timeline visual hierarchy fixed - easier to follow the journey chronologically
  • Each change targeted a specific issue rather than overwhelming redesign
Result Preview
Step 3 result

Organize with Layout & Patterns

Goal: Create visual rhythm with alternating image-text sections

ChatGPT Prompt
Let's organize the story sections with alternating image-text layout:

1. Create three distinct sections:
 - "Where I Started"
 - "Turning Point"
 - "Key Lessons Learned"

2. Use alternating layout pattern:
 - Section 1: Image on RIGHT, key message on LEFT
 - Section 2: Image on LEFT, key message on RIGHT
 - Section 3: Image on RIGHT, key message on LEFT

3. Layout specifications:
 - Two-column grid (50/50 split on desktop, stack on mobile)
 - Increase vertical padding to 4rem between sections
 - Remove colored left borders - keep design clean and minimal
 - Add generous white space around text (3rem padding)
 - Set max-width to 1200px, center container

4. Use placeholder images for now (we'll add specific photos later)

This creates visual rhythm and guides the eye through the narrative.

What Changed:

  • Tried tabs first but they felt too UI-heavy for a story - alternating sections flow better
  • Alternating image-text pattern creates visual rhythm that keeps readers engaged
  • Clean two-column grid with generous spacing makes content easy to scan
Result Preview
Step 4 result

Add Interactive Details & Polish

Goal: Enhance with hover panels and professional imagery

ChatGPT Prompt
Let's add final touches to complete the design:

1. Add hover detail panels for "Practical Ways to Begin" section:
 - Display each tip as a card
 - Show brief preview text
 - On hover, expand with full details (hover details panel pattern)
 - Use smooth transitions (0.3s ease)
 - Subtle shadow on hover: 0 4px 6px rgba(0,0,0,0.1)

2. Replace placeholder images with professional Unsplash photos:
 - High-quality, well-composed imagery
 - Relevant to each section's theme
 - Consistent style and tone across all three sections

3. Final polish:
 - Ensure consistent spacing throughout
 - Check mobile responsiveness (panels stack on small screens)
 - Test all hover interactions work smoothly

What Changed:

  • Hover detail panels add progressive disclosure - users get previews without overwhelming content
  • Professional Unsplash photography elevates the entire design and makes it more engaging
  • Skipped typography and color refinement since the layout already looked polished - adapt the process to your needs
Result Preview
Step 5 result

Building Your Design Intuition

As AI tools take over code generation, design becomes the creative work. ChatGPT can write HTML, CSS, and JavaScript for you—but it needs you to articulate the vision. This is where the real skill lies: developing the language to describe what you want and the taste to know what looks good.

Learning design vocabulary is just the beginning. Building great AI-assisted products requires ongoing practice: follow industry trends, study well-designed sites, understand why certain layouts feel right. The resources below will help you develop your aesthetic intuition and stay inspired. Think of them as your design education—the more you observe, the better you’ll communicate with AI.

Design Resources

Explore these curated resources to continue your design education:

Category Resource What It Is Why Use It
Inspiration Dribbble Platform for designers showcasing UI/UX work See cutting-edge design trends from top designers
Inspiration Behance Portfolio platform with detailed case studies Study full project presentations and design thinking
Inspiration Awwwards Award-winning websites with innovative design Learn from sites judged by industry experts
Inspiration Mobbin Mobile app screenshots and user flows Study real app interfaces and interaction patterns
Typography Google Fonts Free font library with web integration Easy to use, well-optimized, completely free
Typography Typewolf Font recommendations from real websites Learn which fonts pair well in context
Colors Coolors Color palette generator Quickly generate harmonious color schemes
Colors Color Hunt Curated color palettes Browse pre-made palettes for inspiration
Images Unsplash High-quality free stock photography Professional images for any project, completely free
Images Pexels Free stock photos and videos Alternative to Unsplash with video options
Icons Heroicons Hand-crafted SVG icons Beautiful, consistent icons from Tailwind makers
Icons Lucide Modern icon library with 1000+ icons Clean, consistent, actively maintained, MIT licensed
Icons Feather Icons Simple, clean icon set Minimal, elegant icons that work anywhere
Patterns Component Gallery Interface components from real products See how components are designed across systems
Patterns Laws of UX Design principles and psychology Understand why certain patterns work better
Closing image

Language is the ability to identify, to think, to reason. And just as LLMs build understanding from tokens, we build language ability from vocabulary. Start with the right wordsthe thinking follows.