Website Creation with AI › Code a custom site with AI: from zero to live with Cursor

Code a custom site with AI: from zero to live with Cursor

Advanced · 12 min

Goal: You will build and publish a real coded website with an AI editor — and understand the code it writes.

Route 3 is where AI stops being a shortcut and becomes a skill multiplier: the AI writes code, you direct it, review it and ship it. This episode builds a complete small site with Cursor-style AI editing and deploys it free — no prior coding career required, but honesty included: you must learn to read code, not just paste it.

Steps

  1. Set up the workshop: Install Cursor (free tier), create an empty project folder, and ask the AI chat inside it to explain the three files it is about to create: index.html (structure), style.css (look), script.js (behaviour). Understanding those three roles is 80% of reading a website.
  2. Generate the skeleton from your plan: Paste your Episode 2 sitemap and Episode 4 style rules. Ask for the homepage only, semantic HTML, mobile-first CSS, no frameworks. Preview it with a local server or the editor's preview before generating anything else.
  3. Read every change before accepting: Make the AI explain each block in plain words ('This centres the header'). Reject anything you cannot explain back. This habit is the difference between learning to build and renting a black box.
  4. Iterate section by section: Header, hero, services, reviews, contact form, footer — one prompt, one check, one save. Use v0-style generation for polished individual components (a pricing table, a gallery) and drop them into your project.
  5. Deploy free and connect the domain: Push the project to GitHub and deploy on a free static host (GitHub Pages, Netlify or Vercel free tiers). Connect your custom domain when ready, and confirm the HTTPS padlock and the contact form's behaviour (static forms need a form service — free tiers exist).

Tricks and tips

Practice task

Ship one complete coded page live on a free host, then make three small changes (colour, a new section, a working mobile menu) using AI prompts you fully understand.

Pro level

Free and cheap ways to do this

Only legitimate free routes are listed here — official free tiers and trials, open-source tools, and student discounts. Cracking, piracy and payment workarounds are not recommended.

No ratings yet — be the first to rate