This tutorial builds a five-page website for a fictional bike repair shop, “Spaak”, with a chat assistant or coding assistant of your choice. We use a static site – plain HTML and CSS – because it is the best match for AI: the output is easy to read and review, has no database to secure, and is about as fast and cheap to host as a website gets.
Phase 1: write the brief
The brief is the most important prompt of the project. Spend twenty minutes on it.
You are helping me build a small static website.
Business: Spaak, bicycle repair shop in Ghent, Belgium. Founded 2019, two mechanics.
Audience: commuters and students who need a fast, fair repair.
Goal: get people to call or book a repair slot.
Pages: Home, Repairs & prices, About us, FAQ, Contact.
Tone: friendly, direct, no jargon, a bit of humour.
Must include: opening hours (Mon–Fri 8:00–18:00, Sat 10:00–16:00),
address Voorbeeldstraat 1 9000 Gent, phone +32 9 000 00 00, price list.
Style: light, warm, colours of a classic bike: cream, dark green, brass.
Technical: semantic HTML5, one shared CSS file, no frameworks,
no external scripts, relative links, mobile first, WCAG 2.2 AA.
First, ask me up to five questions about anything unclear.Letting the AI ask questions first catches gaps before they turn into generic filler.
Phase 2: structure before design
Propose the sitemap and, for each page: the H1, the sections with
a one-line description, and the main call to action. No code yet.Edit the result until it is right. Changing a plan costs a minute; changing finished pages costs an hour.
Phase 3: a small design system
Write style.css with CSS custom properties for colours, spacing and
font sizes, base typography, a responsive container, buttons, cards
and a header/footer. Check colour contrast for WCAG AA and tell me
the contrast ratios you used.Verify those contrast claims yourself with our contrast checker – AI often gets the numbers wrong.
Phase 4: build one page, then the rest
Build index.html using style.css and the agreed structure.
Use <header>, <nav>, <main>, <footer>. Put the phone number in a tel: link.
Leave clearly marked placeholders where my own text and photos go:
<!-- TODO: real photo 1600x900 --> etc.Open the page in your browser, fix what bothers you, and only then ask for the next pages “in exactly the same structure and style”.
Phase 5: your content
Replace placeholders with your own photos and words. Use AI to tighten your texts, not to invent them – see AI copywriting. Prices, opening hours and promises must come from you.
Phase 6: SEO and technical details
For every page: write a unique <title> (max 60 characters, sentence case)
and meta description (max 155 characters). Add Open Graph tags.
Add LocalBusiness JSON-LD to the homepage with the details above.
Create sitemap.xml and robots.txt for https://www.example.com.Background: structured data, sitemaps, meta elements.
Phase 7: check everything
- Run PageSpeed Insights and an accessibility checker (see AI for accessibility testing).
- Test on a phone, with keyboard only, and with images switched off.
- Click every link. Validate the HTML.
- Go through the human review checklist.
Phase 8: publish
Upload the files to any host, or to a static hosting platform or CDN – many have free tiers for small static sites. Connect your domain, make sure HTTPS works, submit your sitemap in Search Console and set up backups. Replacing an old site? Add redirects first: see moving a website without losing rankings.
Frequently asked questions
How long does building a small site with AI take?
A first version of a five-page site can be ready in an afternoon. Plan one or two extra days for your own texts, photos, checks and fixes. The checking is not optional – it is where the quality comes from.
Do I need to install anything?
Not necessarily. You can do everything with a chat assistant and a text editor. A code editor such as VS Code and a coding assistant make larger sites much easier.