Section 2 · How to Build a WebsitePart 11 of 15
AI Websites

In short: Build fast, secure static websites with Claude Code: how they compare to WordPress, what Claude costs ($20/month Pro), using Git and GitHub, and where to host.
What you’ll learn
In this lesson, we’ll talk about AI websites and learn:
- What is a static website?
- How does a static website compare to WordPress?
- What is Claude Code, and how much does it cost?
- How do you download Claude and connect GitHub?
- Where can you host a static website?
Your homework
Install the Claude desktop app (opens in a new tab) and subscribe to the Pro plan, then create a free GitHub (opens in a new tab) account. Ask Claude Code to build a one-page static website for your own web design brand (see the Building Your Website lesson). Push it to GitHub, host it for free on Cloudflare Workers, and run PageSpeed Insights (opens in a new tab). Then ask Claude to fix anything that scores under 90.
Lesson resources
- Download the Claude desktop app (opens in a new tab)
- Claude plans and pricing (opens in a new tab)
- Claude Code desktop quickstart (official docs) (opens in a new tab)
- Git (free) (opens in a new tab)
- Create a free GitHub account (opens in a new tab)
- Cloudflare Workers: Static Assets (opens in a new tab)
- Go to Cloudways for managed hosting (opens in a new tab)Partner link
- Go to IONOS for Web Hosting & Domains (opens in a new tab)Partner link
Further reading
The builder used in this course
Divi by Elegant Themes
Every website in this course is built with Divi's drag-and-drop visual builder — one license covers unlimited client websites.
Get Divi (opens in a new tab)Partner link — it supports this free course.
The lesson
Welcome! I’m Leighton, your webmaster. Today, let’s talk about something that has completely changed how I build websites: AI. Specifically, how to use an AI assistant called Claude to build blazing-fast websites without typing every line of code by hand. Have you ever wished you could simply describe the website you want… and watch it appear? Let’s see how close we can get!
What is a static website?
Do you remember the Coding lesson? We talked about four languages: HTML, CSS, Javascript and PHP. A static website is built with only the first three. There’s no PHP and no database. Every page is a finished file sitting on a server, ready to be handed to your visitor.
Think of a restaurant. A static website is the printed menu: it’s already made, so the waiter simply hands it to you. A WordPress website is more like a kitchen cooking to order. Every time someone visits, the server runs PHP, asks the database for the content, assembles the page and then sends it. Both approaches work! But which one gets to the table faster?
Why would you choose a static website over WordPress?
Great question. Here’s how they compare:
| AI-built static website | WordPress website | |
|---|---|---|
| Speed | Pages are ready-made files, served from a global network | Each page is assembled by PHP and a database (caching helps a lot) |
| Security | No database, no login page and no plugins to exploit | Core, themes and plugins need constant updates |
| Hosting cost | Free to a few dollars per month | Usually $10 or more per month for a good server |
| Maintenance | Nothing to update, only content to change | Regular software updates (hello, maintenance plan!) |
| Version history | Every change is saved in Git and easy to roll back | Backups and revisions |
| Client self-editing | Not out of the box, since you or Claude edit the code | Clients can edit pages themselves in Divi or WordPress |
| Stores, memberships, big blogs | Possible, but more work | Excellent with WooCommerce and plugins |
Key point
Speed, security and low cost are three things every client wants, and static websites deliver all three out of the box. And remember from the Speed & Performance lesson that Google rewards fast websites!
Now, to be clear, I’m not telling you to abandon WordPress. WordPress powers roughly 40% of the web, and Divi is still my recommendation when a client needs to edit their own content, run an online store or manage lots of pages. But think about how many small businesses you’ll meet who just need a beautiful brochure website: a plumber, a restaurant, a church, a photographer, a local attorney. Their websites change a few times a year, and when they do, they email you. For those clients, a static website is a fantastic fit.
Business opportunity
Remember the profit margins in the Selling Your Plan lesson? A static website can be hosted for little or nothing, so the same monthly maintenance plan leaves you a higher margin. Your plan simply shifts from “updating plugins” to “updating content, monitoring, backups and support”. It’s still recurring revenue, with less work.
What is Claude Code?
You’ve probably chatted with an AI before: ask a question, get an answer. Claude is an AI assistant built by a company called Anthropic, and Claude Code is a different experience. It works inside your project folder. It can read every file, write new ones, run commands, spot errors and fix them, all from plain-English instructions.
Imagine hiring the world’s fastest developer. They never get tired, never sigh at revisions and happily rebuild your header for the tenth time. Who’s the boss? You are! You decide what gets built, you review what comes back and you approve it. In other words, you act like a webmaster, or even an executive, instead of doing every task by hand.
Key point
AI doesn’t replace the webmaster. It replaces the typing. You still need the judgment: Which pages does this business need? Does the copy sound like them? Is that price correct? That’s exactly why this course teaches the fundamentals first!
How much does Claude cost?
When I checked in November 2026, these were the individual plans on claude.com/pricing (opens in a new tab):
| Plan | Price | Includes Claude Code? | Who is it for? |
|---|---|---|---|
| Free | $0 | No | Chatting with Claude |
| Pro | $20 per month or $17 per month billed annually ($200 up front) | Yes | Building websites. My recommendation! |
| Max | $100 per month | Yes, with 5x the usage of Pro | All-day, heavy use |
| Ultra | $200 per month | Yes, with even more usage | Very long tasks |
For building websites, the $20/month Pro plan is more than enough. Start there, and only upgrade if you regularly hit your usage limit. Speaking of which, every plan has usage limits that reset every five hours and weekly.
Let’s put that price in perspective. In the Quoting Websites lesson, we talked about a $75 hourly rate. At $75 an hour, a $20 subscription pays for itself in the first 16 minutes of time it saves you. And you’ll save far more than 16 minutes!
Prices and plans are set by Anthropic and can change, so check the pricing page before you subscribe.
Step 1: Download Claude to your desktop
- Visit claude.com/download (opens in a new tab) and install the Claude desktop app for Mac or Windows. (If you use Linux, you can use the command-line version of Claude Code instead.)
- Sign in with your Pro subscription.
- Click the Code tab.
- Create a new, empty folder on your computer named after your project, such as
my-first-ai-website, and open it in the Code tab. This folder is where your website will live.
One note for Windows users: Claude’s desktop app needs Git for Windows (opens in a new tab) installed. On a Mac, you’ll be prompted if Git needs installing.
Step 2: Install Git and connect GitHub
I have great news: Git is free! Git is free, open-source software that tracks every change you make to your files. Think of it as an undo button for your entire website. And GitHub is a website that stores your Git projects online. A free GitHub account is all you need, and it even includes private repositories.
Why bother? Four reasons:
- Backup. Your website’s files live in two places, not one.
- History. Broke something? Roll back to yesterday’s version.
- Automatic deployment. Connect GitHub to your host, and every time you save your work, your live website updates.
- Collaboration. Share a project with a colleague or client.
Here’s how to connect:
- Create your free account at github.com (opens in a new tab).
- In Claude’s Code tab, ask: “Create a GitHub repository for this project and push my files to it.”
- When Claude asks for access to GitHub, approve it. If you use a private repository, you’ll grant access through GitHub’s Claude app.
Claude does the typing and asks permission before running commands, so you stay in control of what happens on your computer.
Step 3: Tell Claude what to build
This is where your skills as a webmaster shine. The better your instructions, the better the website, just like a client interview (see the Interviewing Clients lesson)! A good brief includes:
- The business name, what they do and where they’re located
- The pages you need
- Colors, fonts, logo and the overall tone
- Contact information
- Your technical requirements: SEO tags, alt text, mobile-friendliness and speed
For example:
Build a 5-page static website for Smith Plumbing in Nashville, TN: Home, Services, About, Reviews and Contact. Use plain HTML, CSS and JavaScript with no frameworks. Colors are navy and orange. Give every page its own title, meta description and canonical URL. Add alt text to every image, a sitemap.xml and a robots.txt. Make it mobile-first and fast, and show me a local preview when you’re done.
Then iterate, just like you would with a human designer: “Make the hero bigger.” “Make the phone number clickable on mobile.” “Rewrite this paragraph to sound friendlier.”
Key point
Create a file called CLAUDE.md in your project and write your standards once: your SEO checklist, accessibility rules, PageSpeed goals and brand tone. Claude reads it at the start of every session, so every new website starts with your agency’s defaults. I keep one for Pioneer Media!
Step 4: Preview, review and save
Ask Claude to start a local preview, then click through every page on your phone and your computer. Read every sentence. Check the phone number, the prices, the hours and the spelling of the owner’s name. When it looks right, ask Claude to commit and push your changes to GitHub. That is your website, saved and backed up.
Step 5: Host your static website
Here’s the beautiful thing about static websites: anything can host them. HTML, CSS and Javascript are the native languages of every web browser, so any web server on the planet can serve them. You have plenty of options:
Cloudflare Workers (my favorite)
Cloudflare’s free plan lets you host a static website on Cloudflare Workers, and requests for static files are free and unlimited (opens in a new tab). Connect your GitHub repository, and every push to your main branch deploys your website automatically, within minutes, on Cloudflare’s global network, with free SSL. In fact, the very website you’re reading was rebuilt this way!
Cloudways
Already hosting WordPress sites on Cloudways (opens in a new tab)? You can serve static files from a server there too, since you just need somewhere to put your files. Cloudways also offers Velocity, a managed hosting plan from $20/month for modern JavaScript frameworks like Astro, Next.js and React. Read my updated Cloudways review for the details.
IONOS
Do you have an IONOS (opens in a new tab) hosting plan? Upload your files to your webspace using SFTP, which IONOS supports, with a free program like FileZilla. IONOS has a step-by-step guide (opens in a new tab).
Any hosting you’d like
GoDaddy, Bluehost, your client’s existing server, GitHub Pages, Netlify… upload your HTML, CSS and Javascript files, and you’re live. Choosing a host is no longer a technical decision. It’s a budget and convenience decision!
What should you watch out for?
AI is powerful, but it isn’t magic. As the webmaster, keep these guardrails in mind:
- Review everything. Claude can be confidently wrong. Check facts, prices, links and phone numbers before launch.
- Protect your secrets. Never paste passwords, API keys or private client data into a chat, and keep them out of your Git repository.
- Test on real devices. Then run PageSpeed Insights (opens in a new tab) and ask Claude to fix anything that scores poorly.
- Contact forms need a helper. A static website can’t process a form on its own, so add a form service or a small Cloudflare Worker. Pair it with a spam check like Cloudflare Turnstile, as this website does.
- Know when to use WordPress. If a client needs to edit their own content or sell products, WordPress and Divi are still the better tool.
Recap
So what have we learned?
- A static website is built with just HTML, CSS and Javascript, so it’s fast, secure and cheap to host.
- Claude Code builds and edits those files from plain-English instructions, and the $20/month Pro plan is plenty.
- Git is free, and GitHub backs up your website and can deploy it automatically.
- Anything can host a static website: Cloudflare Workers, Cloudways, IONOS or any hosting you like.
- You’re still the webmaster. You make the decisions and review the work.
I’m Leighton, and now you know… how to build a website with AI!
Progress is saved in this browser only.

