Starter 10 min

Your First Web Page

In the last lesson, you said hello to the world. Now let's make something personal — a page that's actually about you.

By the end of this lesson, you'll have a real web page with your name, your interests, a placeholder for your photo, and links to your social profiles. You won't need to write any code yourself. You'll describe what you want, and Claude will build it.

The Describe-Build-View Cycle

Vibe coding follows a simple loop. You use it every single time you build something, whether it's a one-page bio or a full website. Here's how it works:

Describe
Tell Claude what you want in plain English
Build
Claude writes the HTML and CSS code
View
Open the file in your browser and review

After viewing, you go back to the first step: describe what you'd like to change. That's it. The entire workflow is this loop, repeated until you're happy with the result. No manuals. No memorizing syntax. Just conversation.

Describing Your Bio Page

Let's put the cycle to work. Open Claude Code in your terminal and type a description of the page you want. Here's an example:

Terminal
you> Create a personal bio page for me. My name is Alex Chen. I'm interested in photography, cooking, and hiking.
 
Include a section for a profile photo (use a placeholder for now), a short bio paragraph, a list of my interests with icons, and links to my social media.
 
Use a clean, modern design with a soft blue color scheme.

Notice a few things about that request. It mentions specific content (name, interests), specific sections (photo, bio, interests, links), and a design direction (clean, modern, soft blue). The more detail you give, the closer the first result will be to what you imagine.

But don't stress about getting it perfect. Remember: this is a loop. You'll refine it after seeing the result.

What Claude Built — A Quick Tour

Claude generates an HTML file. HTML is the language browsers read to display web pages. You don't need to learn it, but it helps to recognize a few pieces so you can understand what's happening under the hood.

index.html
1<h1>Alex Chen</h1>
2<!-- ^ Your name as the main heading -->
3 
4<img src="photo.jpg" alt="Profile photo">
5<!-- ^ Where your profile photo goes -->
6 
7<p>Hi, I'm Alex — a curious creative who loves
8 capturing light, experimenting in the kitchen,
9 and finding new trails to explore.</p>
10<!-- ^ A paragraph of text about you -->
11 
12<a href="https://twitter.com/alexchen">Twitter</a>
13<!-- ^ A clickable link to your profile -->

Here's what those pieces mean:

The design itself (colors, fonts, spacing) is handled by CSS — a companion language that controls how things look. Claude writes both HTML and CSS together. You don't need to touch either one directly.

Viewing Your Page

Claude saved the file as index.html in your project folder. To see it, you just need to open it in a web browser. On a Mac, the fastest way is:

Terminal
$ open index.html

On Windows, use start index.html. On Linux, use xdg-open index.html. Or simply drag the file from your file manager into any open browser window.

Here's roughly what the result looks like:

file:///Users/you/my-bio/index.html

Alex Chen

Curious creative. Photographer, cook, and trail finder.

Photography Cooking Hiking

That's a real, working web page — built entirely from a description you typed in English. No templates. No drag-and-drop editor. Just a conversation.

Try This

Ask Claude to create a bio page for you. Replace the example details with your own name, interests, and style preferences. Try describing a color scheme you like — "earthy tones", "neon on dark", "ocean blues" — and see what you get.

Making It Yours

The first version is rarely the final version. The power of vibe coding is how fast you can refine. Just describe the change you want in plain English, and Claude updates the code. Here are some examples:

Terminal
you> Change the color scheme to warm earth tones — terracotta, cream, and olive
Terminal
you> Make the profile photo section a circle instead of a square
Terminal
you> Add a dark mode toggle in the top-right corner
Terminal
you> Add a "Currently reading" section below my interests with the book title "Dune" by Frank Herbert

Each time you make a request, Claude updates the file. Refresh your browser to see the change. Describe, build, view. That's the whole process.

Pro Tip

Don't try to describe everything perfectly on the first request. Get the structure right first, then refine the design. It's much faster to say "make the font bigger" after seeing the result than to guess the perfect size upfront.

Practice: Name That Element

The HTML tag <h1> creates a large at the top of the page.

The HTML tag <p> creates a of text.

The HTML tag <img> displays an on the page.

The HTML tag <a href="..."> creates a clickable to another page.

Colors, fonts, and spacing are controlled by , not HTML.

Key Takeaways

Lesson 1: What is Vibe Coding? Lesson 3: The Art of Back and Forth