Chapter 5: Build the pages with free AI

The short answer: Paste your words from Chapter 4 into free ChatGPT, Gemini or Claude and ask it for one complete web page in a single HTML file. Save the file as index.html in your website folder, open it in your browser, and ask the AI for changes until it looks right. No website builder, no monthly fee and no code knowledge needed.

What you need Time Cost
Your "website words" document (Chapter 4), logo files (Chapter 3), photos. A free AI account. Notepad (Windows) or TextEdit (Mac). About 1 to 3 hours $0

You are the boss. The AI is the builder.


How this works (in plain words)

A website is just a few files. The main one is called index.html. It holds your words and tells the browser how to show them. You do not need to write it. The AI writes it. You check it and ask for changes.

Some paid tools now build and host sites with AI for a monthly fee. You do not need them. The free version of the same AI can write the file, and Chapter 7 puts it online for free.

Step 1: Set up your website folder

In the website folder from Chapter 1, make sure you have: - logo.png, logo-white.png and icon.png (Chapter 3) - Your photos, renamed to simple names with no spaces: team.jpg, kitchen-before.jpg, kitchen-after.jpg - Your "website words" document (Chapter 4)

Simple file names matter. IMG_20251104_093355.jpg is easy to get wrong. kitchen-after.jpg is not.

Step 2: Ask the AI to build the page

Open a new chat and paste this, then paste your words underneath it.

Copy this prompt
Build a complete one-page website for my small business as ONE html file
with all the CSS inside a <style> tag. No frameworks, no JavaScript
libraries, no external files except Google Fonts and my images.

My images are in the same folder as the html file:
logo.png, logo-white.png, icon.png, [list your photo file names]

Requirements:
- Mobile first. It must look great on a phone.
- Exactly ONE <h1>: a small line above the headline that says what I do
  and where: "[your eyebrow from Chapter 4]". Style it small.
- The big headline is a <p>, styled large: "[your headline]".
- Then these sections in order, using MY words below exactly:
  [list your sections from Chapter 1]
- A clear button in the top section and at the bottom that says
  "[your button text]" and [calls tel:YOURNUMBER / goes to the contact section].
- Use <h2> for each section heading.
- Every image needs alt text that describes it.
- Colors: [your logo color] as the main color, with lots of white space.
- Big, readable text (at least 18px) and buttons at least 44px tall.
- In the <head>: <title>[your page title]</title>,
  <meta name="description" content="[your description]">,
  <link rel="icon" href="icon.png">,
  and <meta name="viewport" content="width=device-width, initial-scale=1">
- Phone number as a clickable link: <a href="tel:+1XXXXXXXXXX">.

Give me the whole file in one code block. Do not leave anything out.

Here are my words:
[paste your website words]

Step 3: Save the file

On Windows: 1. Click the Copy button on the AI's code block. 2. Open Notepad, and paste. 3. Click File, then Save as. 4. Go to your website folder. Name it index.html. 5. Change Save as type to All files, and make sure Encoding is UTF-8. 6. Click Save.

On a Mac: 1. Copy the code, open TextEdit, then click Format, then Make Plain Text. 2. Paste, then save it as index.html in your website folder. If it asks, choose Use .html.

Step 4: Look at it

Double-click index.html. It opens in your web browser. This is your website, running on your own computer. Nobody else can see it yet.

To see the phone version: press F12 (or right-click and choose Inspect), then press Ctrl+Shift+M (on Mac, Cmd+Shift+M). Pick a phone size from the menu at the top.

Step 5: Ask for changes, one at a time

Go back to the same chat and describe what you want in plain words: - "Make the headline bigger on phones." - "Move the reviews above the About section." - "The photo of the kitchen is stretched. Fix it." - "Make the button red, #C8102E."

Always end with: "Give me the whole updated file." Then copy it, paste it over everything in Notepad and save. Refresh your browser to see the change.

Change one thing at a time. If you ask for ten changes at once, the AI is more likely to break something.

Want more than one page?

Ask: "Turn this into separate pages: index.html (home), services.html, about.html and contact.html. Use the same header, menu and footer on every page. Each page needs its own <title>, description and one <h1>." Save each file with its exact name in the same folder.

When the AI gets it wrong

Common mistakes


Done? Your website works on your computer. Next, make sure Google and phones will love it.

Next: Chapter 6, Check SEO, mobile and accessibility

Stuck? CW Dynamic can help

Last checked: November 20, 2026