DAZAI CHEN

Web Development in the AI Era: Everything You Need to Know

Not another 'learn to code from scratch' tutorial. This is a map of the entire web development landscape, so you can use AI to build what you want.

Web Development AI Beginner Guide Overview

Why Now is the Best Time

Before, if you wanted your own website, you had two options:

Path A: Learn to Code

Spend months learning HTML, CSS, JavaScript, then frameworks, then deployment, domains, DNS… Full control, but high barrier.

Path B: Use a Platform

WordPress, Wix, Webflow, or for blogging: Medium, Substack. No coding needed, but limited by the platform.

Now? There’s a third path: AI + Code.

You can tell an AI “build me a personal portfolio website” and it starts writing code. You don’t write it yourself, but you own the complete codebase and can change anything.

But this doesn’t mean you don’t need to know anything.


Think of It Like Buying a House

Let’s use house-buying as an analogy.

Imagine you’re buying a house. With AI, you now have a super-powered real estate agent + designer + contractor who can find properties, draw plans, and handle renovations. But you still need to know:

Buying a HouseBuilding a WebsiteWhy It Matters
Structure — Foundation, frame, skeletonHTML — Content structureUnstable structure = everything fails
Design — Interior design, spatial planningCSS — Visual styling, layoutLook & feel, usability
Mechanical/Electrical — Plumbing, wiring, smart homeJavaScript — Interactions, dynamic behaviorMakes the house “work”
Address — Street numberDomain — yourname.comHow people find you
Land — Where the house sitsHosting — Which server hosts your filesYour website needs a “home”

This article gives you that “house-hunting map.”


The Essence of a Website

No matter how technology evolves, the essence stays the same:

Your browser asks a computer (server) for data, then displays that data.

That’s it. All the technologies, frameworks, and tools are just optimizing this process.

Three Core Elements (The Three Systems of a House)

ElementPurposeHouse Analogy
HTMLContent structureStructure (foundation, frame, skeleton)
CSSVisual stylingDesign (interior design, spatial planning)
JavaScriptInteractive behaviorMechanical/Electrical (switches, plumbing, smart home)

When you tell AI “make this button blue,” it modifies CSS (changing the paint color). When you say “show a popup when the button is clicked,” it writes JavaScript (installing a new switch).

You don’t need to write code, but you need to know what each does, so you can:

  1. Use the right vocabulary when communicating with AI
  2. Judge whether AI’s answer is correct
  3. Know where to look when something breaks

Static vs Dynamic: Two Types of Houses

Static Websites = Model Homes

  • All content is “hardcoded”
  • Every visitor sees the same content
  • Examples: personal sites, portfolios, blogs
  • Pros: Cheap, secure, easy to maintain (no complex backend)

Dynamic Websites = Custom Mansions

  • Content changes based on user or database
  • Requires backend server processing
  • Examples: Facebook, e-commerce, membership sites
  • Pros: Powerful features, highly customizable

Advice for beginners: Start with a “model home.” 90% of personal needs can be met with static sites, and modern static site tech (like Astro) is incredibly powerful.


Modern Development Approaches

ApproachHouse AnalogyExamples
No-code toolsBuying a pre-built home (choose colors, layout, but limited changes)Wix, Squarespace, Framer
AI + codeHiring a designer + contractor (you describe what you want, they build it)Claude Code, Cursor, GitHub Copilot
Pure codingBeing your own contractor (full control, but you need to know how to build)VS Code + writing it yourself

This article assumes you’re choosing AI + code — you want control, but let AI do most of the work.


Where Will Your Website Live?

Once your website is built, you need to make it accessible, just like a house needs an address:

1. Domain = Street Address

  • That’s the yourname.com thing
  • Purchase from domain registrars (~$10-15/year)
  • Common registrars: Namecheap, Cloudflare, GoDaddy

2. Hosting = Land

  • Your website files need to live on a server somewhere
  • Modern solution: GitHub + Vercel or GitHub + Netlify
  • Free, and highly automated (like having HOA management included)

Development Workflow (Building a House)

1. Plan → What kind of house? For whom? How many rooms?
2. Design → Draw floor plans (sketch or use Figma)
3. Build → Collaborate with AI to "construct" the site
4. Inspect → Run it locally, check for leaks
5. Move in → Push to GitHub, auto-deploy to Vercel (housewarming!)
6. Maintain → Update content, fix bugs, check visitor analytics

This workflow is the same regardless of tools — the only difference is how much you do yourself versus how much AI helps.


Working with AI: Key Principles

1. Be Specific with Requirements

❌ “Build me a house”

✅ “Design a 1,500 sq ft two-bedroom apartment, modern minimalist style, with a balcony and good natural lighting.”

Same for websites:

❌ “Build me a website”

✅ “Build me a personal portfolio website using Astro. It should have a homepage, works page, and about page. Clean, modern style with dark theme.”

2. Build in Phases

Don’t ask AI to do everything at once. First lay the foundation (HTML structure), then do the interior (CSS styling), then install appliances (JavaScript functionality).

3. AI Makes Mistakes

AI is like a rookie contractor — sometimes things go wrong. If it doesn’t run:

  • Paste the error message to AI (like sending photos of a leak to your contractor)
  • Ask AI to explain what it did
  • When unsure, ask “What are the risks of doing it this way?“

4. Learn to Read Inspection Reports (Error Messages)

You don’t need to write code, but learn to read error messages. They usually tell you:

  • Which file has the problem (which room)
  • Which line (which spot)
  • What type of error (leak? electrical issue?)

Give this info to AI, and it can usually fix it.


After Moving In

Closing on a house is just the beginning. Same with launching a website.

SEO: Help People Find Your House

Just like registering your address and putting up a mailbox, your website needs to be findable:

  • Set proper title, description (mailbox, house number)
  • Ensure your site is fast (good road access)
  • Submit sitemap to Google (register with the post office)

Analytics: Know Who Visited

  • Google Analytics 4: Traffic, user behavior (who visited, which rooms they browsed)
  • Google Search Console: Search performance (how people found you)

Security: Install a Security System

  • Ensure you’re using HTTPS (good door locks)
  • Regularly update dependencies (keep the security system updated)

Common Questions

”I know nothing about building houses. Can I have my own website?”

Yes. No-code tools (Framer, Wix) are like buying pre-built homes — zero experience needed to move in. If you want more control, working with AI step by step can get you there too.

”Should I learn React or Vue or…?”

Don’t rush. This is like asking “Should I learn plumbing or carpentry?” — if you just want to live there, you don’t need to master everything. Let AI help you build first, learn more when you hit limitations.

”What are the limits of free hosting?”

Vercel/Netlify free tiers are more than enough for personal sites. Unless you’re getting hundreds of thousands of visitors monthly (like shopping mall traffic), don’t worry.

”Do I need to buy a domain?”

Not necessarily. Vercel gives you a free yourproject.vercel.app URL (like a standardized community address). But if you’re serious about it, having your own domain looks more professional (your own house number).


Next Steps

Based on your goals:

I want to…Recommendation
Build a personal site/portfolioUse Astro + AI, deploy to Vercel
Start a blogSame as above, Astro has built-in Markdown support
Learn frontend deeplyUnderstand HTML/CSS/JS basics first, then learn frameworks
Build e-commerce/membershipConsider Shopify or hire a professional developer

Summary

Web development in the AI era is like buying a house:

  1. Understand the basics — Know what foundation, interior design, and plumbing are (HTML, CSS, JS)
  2. Describe your requirements clearly — Tell AI exactly what style you want, how many rooms
  3. Know how to inspect — Judge whether AI’s output is correct, spot any problems

Master these three, and the rest is practice and experience.

Start house-hunting now.


Get in Touch

Want to learn how to use Claude Code, or start building your own website with it? Fill out this form and I’ll get in touch!

dazai.studio

Dazai Chen

dazai.studio@gmail.com