AI for Building Websites: Tutorials and Workflows
AI can get you from a blank page to a working website faster than ever, but only if you treat it as a fast assistant, not a replacement for your judgment. This hub collects practical workflows for every stage: planning, writing, building, checking, and maintaining a site.
If you’re brand new, read the core guide first: How to Prompt AI to Build a Website. It covers the full seven-stage process. The tutorials below go deeper on specific jobs.
Tutorial 1: Writing an About page that builds trust
The About page is often the second most visited page on a small site, and it’s where AI-written copy fails most visibly. Generic lines like “We are passionate about excellence” tell visitors nothing.
The workflow:
- Collect real material first. Write down, in rough notes: why you started, who you help, one specific story of a customer or project, your credentials, and where you’re based. AI cannot invent these, and it shouldn’t try.
- Ask for structure, not facts. Use this prompt:
Write an About page from the notes below.
Structure: a one-line summary of who we help, a short origin story,
what makes our approach different, proof (only from my notes), and a call to action.
Tone: plain, warm, no buzzwords.
Rules: Use only facts in my notes. If something is missing, write [NEED INFO] instead of guessing.
Notes: [paste]
- Fill every [NEED INFO] yourself, add a real photo, and read it aloud. If a sentence sounds like it could be on any company’s site, cut it or make it specific.
Tutorial 2: Generating a static site with AI
You have two reasonable options:
- Plain HTML/CSS: best for a one- to five-page site. Ask AI for one accessible, mobile-first page at a time, then reuse the header and footer.
- A static site generator (like Astro, which this site uses): better for anything with more than a handful of pages or a blog, because you write content in Markdown and the layout is shared.
A prompt for a single page:
Create one HTML page with embedded CSS for a [business type] homepage.
Requirements: semantic HTML (header, nav, main, footer), one H1,
mobile-first layout, readable font sizes, sufficient color contrast,
alt text placeholders for images, no external JavaScript.
Content: [paste your approved copy]
Open the result in a browser, resize the window to phone width, and fix what breaks. Then deploy to a static host or your existing web host.
Tutorial 3: Rewriting old pages without losing rankings
AI is good at refreshing stale content, but a careless rewrite can drop a page’s search traffic. Protect what’s working:
- Keep the URL. If you must change it, set up a permanent (301) redirect from old to new.
- Check what the page ranks for in Google Search Console before touching it, and keep those topics covered.
- Update facts, don’t just reword. Ask AI: “List every claim in this page that could be out of date,” then verify each one yourself.
- Improve intent match. Ask: “Someone searching [query] wants what? Does this page answer it in the first two paragraphs?”
Tutorial 4: AI-assisted accessibility review
Accessible sites are easier for everyone to use and often easier for search engines to understand. Paste a page’s HTML and ask:
Review this HTML for accessibility issues.
Check: heading order, missing alt text, link text that says "click here",
form labels, color contrast concerns, and keyboard navigation problems.
List each issue with the line, why it matters, and the fix.
Don't rewrite the whole page.
Then verify with a real tool and by tabbing through the page with your keyboard. AI reviews miss things, especially visual contrast, which it can’t see from the code alone. The W3C’s Web Content Accessibility Guidelines (WCAG) overview is the authoritative reference.
Tutorial 5: A local business site in a weekend
A realistic plan for a five-page site (Home, Services, About, Reviews, Contact):
Saturday morning: run the “Website discovery questions” and “Sitemap generator” templates from the Prompt Library. Approve the sitemap.
Saturday afternoon: draft copy for each page with the “Page copy with no invented facts” template. Fill every gap with real information, especially phone, address, hours, and service area.
Sunday morning: generate the pages, add your photos, and test on your phone.
Sunday afternoon: run the “SEO and accessibility audit” template, fix issues, set up your contact form, and publish.
Common mistakes
- Publishing AI copy without adding real details, photos, or proof.
- Letting AI invent testimonials, stats, or credentials. Never do this; it’s misleading and can break advertising rules.
- Generating twenty near-identical pages for different towns or keywords. Search engines treat these as doorway pages.
- Skipping the phone test.
Website launch checklist
- Every page has one clear purpose and one H1
- No [NEED INFO] or placeholder text left
- Contact details are correct and consistent everywhere
- Images have descriptive alt text
- Each page has a unique title and meta description
- Site works on a phone and with a keyboard only
- Privacy policy and contact page are published
- Old URLs redirect to new ones
Related
- Templates: the “Websites” section of the Prompt Library
- Tools: Best AI website builders
- Real projects: Examples
- Build a custom prompt: Help Me Create Prompts