/claude/forgetting started / claude-code-first-website
Getting started

Build your first website with Claude Code: a non-dev's walkthrough

Arthur Teboul
Arthur TeboulEditor, claude/for
AUG 13 · 8 MIN

Yes, a non-dev can build a real website with Claude Code in about 30 minutes, using the desktop app instead of a terminal. Here's the exact walkthrough.

The short answer

Yes, a non-dev can build a real website with Claude Code, and have a working local version in about 30 minutes. You don't need a terminal, Node.js, or any prior coding experience.

What you do need: a paid Claude plan (Pro or higher, Claude Code isn't on the Free tier) and the Claude desktop app, which includes Claude Code built in. This guide walks through the exact steps: install, describe the site you want, preview it, fix things by pointing at them, and undo mistakes.

This site isn't affiliated with Anthropic. If you want the broader case for why a non-dev would use Claude Code at all, Claude Code for non-devs covers that; this guide is the hands-on walkthrough.

What you need before you start

Skip the web version (claude.ai/code) for this one. It's explicitly a research preview running on Anthropic's own cloud servers, and "sessions need access to your GitHub repositories to clone code and push branches," meaning no access to your local files at all. With no existing GitHub repo for a first project, the desktop app's Local mode is the simpler start. Source: Claude Code on the web.

The walkthrough

now

Download and open the desktop app

Sign in with your Anthropic account. You'll see three tabs: Chat, Cowork, and Code. Click Code.

now

Choose Local, then Select folder

Create a new, empty folder for this project first (call it something like my-portfolio-site). The docs' own tip: "Start with a small project you know well."

now

Type your first prompt

Something like: "Build me a one-page portfolio site with a hero section with my name and title, an about section, a projects grid with three placeholder cards, and a contact section with an email link. Use a clean, modern look with a dark background."

next

Review the diff, then accept

Claude proposes the files and shows exactly what it's adding before anything touches disk. Click accept, or accept edits mode if you'd rather stop reviewing every single change (see below).

next

Preview it

Claude starts a local server automatically after editing project files and opens it in the Browser pane, or click an HTML file path in the chat to open it directly.

next

Point and fix

Use the element picker to click directly on something in the preview (a button, a color, a spacing issue) and describe what you want changed, instead of writing out CSS selectors yourself.

next

Undo if something goes sideways

Type /rewind or press Esc twice on an empty prompt to open checkpoints and restore an earlier version of the code, the conversation, or both.

For anything beyond a one-page site, start in Plan mode. Prefix your first prompt with /plan (or press Shift+Tab) and Claude researches the request and proposes an approach before writing any files. You then approve it, tweak it, or keep talking through it. This costs you thirty seconds and saves a rebuild later on anything with more than one page or a shared layout. Source: Choose a permission mode.

Manual mode vs. Accept Edits vs. Auto

The Code tab starts in Manual mode by default: Claude proposes a change, shows a diff, and waits for you to click accept before anything is written to disk. That's the safest way to spend your first session, since you see every file before it exists.

Once you trust what's coming out, Accept Edits mode turns off the per-change approval for file edits specifically, while still asking before anything riskier, like a command outside the project folder. That's the realistic "less friction" mode for a beginner, not Auto.

Auto mode goes further: it advances through a task without asking, with a second model checking its work as it goes. It's not on by default, won't show up as an option until enabled in Desktop settings, and needs a roughly Opus 4.6-class or Sonnet 4.6-class model or above. Source: Choose a permission mode.

You're also never stuck waiting: type a correction and press Enter to steer Claude mid-task without stopping the run, or click stop to interrupt immediately. Source: desktop quickstart, "Interrupt and steer".

Manual mode: a diff to review before anything touches disk
Manual mode: a diff to review before anything touches disk

Honest limits and what tends to break first

A few things trip up first-timers specifically, worth knowing going in:

Don't paste API keys, passwords, or anything from a .env file into the chat, and don't let a site with real secrets in it go to a public GitHub repo. Keep the repo private, or better, keep secrets out of the codebase entirely and add them through your hosting provider's environment variable settings instead.

Tested on the Claude desktop app, Code tab, July 2026.

How to put it online, briefly

Once the site looks right locally: create a GitHub repository, push your code, then connect that repository to a host that auto-deploys on every push. Vercel is the most common first choice for a simple site like this, with Cloudflare Pages and self-hosted options like Dokploy as alternatives.

Vercel's free Hobby plan supports a custom domain at no extra platform cost, though it's non-commercial use only, anything monetized moves to a paid tier. Domain registration is a separate cost, commonly $10 to $20/year for a .com, varying by registrar and promotion. That whole flow is its own topic for a dedicated guide, not a rushed section here.

Can I build a website with Claude Code without coding?

Yes. You describe what you want in plain English, Claude Code writes the actual HTML, CSS, and any other files, and you review and approve the changes before they're saved. You don't need to read or write code to get a working site, though understanding roughly what a "file" and a "folder" are helps.

Is Claude Code free to build a website?

No. Claude Code requires a paid plan, Pro at minimum, it's not available on the Free tier. See Claude Code pricing for what each tier costs and what you get.

How do I put my Claude Code website online?

Push the project to a GitHub repository, then connect that repository to a host like Vercel that deploys automatically on every push. Your local preview at localhost is never visible to anyone else until this step is done.

Do I need to know how to use a terminal for this?

No, not for the desktop app path in this guide. The Claude desktop app includes Claude Code and works entirely through its own interface, no separate terminal or command-line install required. A terminal-based CLI version exists too, but it's not the easiest starting point for a first project.

If you're still deciding whether Claude Code is worth it before your first site, Claude Code for non-devs makes that case in more depth, and how to use Claude covers the regular chat interface if you want something lighter than a full coding tool. For everything else in your first week, getting started has the broader walkthrough.

One Claude move in your inbox, every Sunday

Four minutes, tested on a real job, then back to your weekend. Free.