Zero-Code AI App BuilderZero-Code AI App Builder
Vibe Coding

Your first session

Ask Claude Code to build something

Let's build something small with Claude Code. In about fifteen minutes you will have a working web page that you never typed a line of code for.

What is a session?

A session is one conversation with Claude Code. It is like a work shift with a helper. You give instructions, the helper works, and you check the results.

Every session follows the same loop:

  • You ask for something in plain English
  • Claude Code plans and reads any files it needs
  • It asks permission to create files or run commands
  • You review what changed and try it out
Ask
plain English
→
Approve
permission prompt
→
Review
check the change
→
Test
open it in a browser
→
Repeat
next small step
The loop you will repeat hundreds of times as you build.

Start in an empty folder

Use the hello-claude folder from the setup page, or make a new one. An empty folder is a safe sandbox. Nothing important can break.

bash
cd hello-claude
claude

Keep VS Code open on the same folder, so you can watch files appear.

Ask it to build a tiny page

Type your request like you would to a helpful person. Be clear about what you want to see.

Prompt
Create a single index.html page for a small plant shop called "Leaf & Pot".
Include:
- a heading with the shop name
- one short welcome sentence
- three plant cards, each with a name, a price, and an "Add to cart" button
- simple, friendly styling in the same file (no frameworks)
Keep it to one file.

Let's break this down:

  • It names the file (index.html), so you know what to look for
  • It lists exactly what should appear on the page
  • It sets limits ("one file", "no frameworks") so the result stays small

Approve the permission prompt

Before Claude Code creates the file, it stops and asks you. You will see the file it wants to create and a few choices.

  • Yes allows this one action
  • Yes, and don't ask again allows this kind of action for the rest of the session
  • No stops it, so you can tell it what to do instead

The exact wording may change between versions. For now, choose the plain "Yes" so you see every step. You can press Esc at any time to stop Claude Code mid-task.

Review the change and run it

When Claude Code finishes, it writes a short summary. Then check its work yourself:

  1. Look in VS Code. You should see a new index.html file.
  2. Open the file and scroll through it. You don't need to understand every line.
  3. Open the page in your browser. Right-click the file in VS Code and choose Reveal in Finder (macOS) or Reveal in File Explorer (Windows), then double-click it.

You can also just ask:

Prompt
Open index.html in my default browser.

Now ask for one small improvement:

Prompt
Make the cards sit in one column on phones and three columns on wider screens.
Change the button color to a soft green.

Refresh the browser to see the change. That's vibe coding: describe, approve, check, repeat.

Ask it to explain what it did

Claude Code is also a patient teacher. Use it to understand your own project.

Prompt
Explain what you just built, in simple words for a beginner.
Which part of index.html controls the layout of the cards?
Asking "explain what you did" after each step builds your understanding fast. You will make better decisions when you know roughly how your app works.

Two keys to remember

  • Esc interrupts Claude Code. Use it when it heads the wrong way. Then type a clearer instruction.
  • /clear starts a fresh conversation. Use it when you switch to a new task, so old chat history doesn't confuse it. Your files stay exactly as they are.

To leave Claude Code completely, type /exit.

Common mistakes

Asking for too much at once

Prompt
// Wrong
Build me a full online plant store with login, payments, and an admin panel.

// Right
Create a single index.html page with a heading and three plant cards.

Not checking the result

Claude Code's summary says what it meant to do. Always open the page and look. If something is off, tell it exactly what you see.

Prompt
// Wrong
It's broken, fix it.

// Right
The third card is wider than the other two on my laptop screen. Make all cards the same width.

Practice

Try these exercises to lock in what you just learned.

Quiz
Not started
Claude Code starts changing the wrong file. What key stops it right away?
Quiz
Not started
You finished the plant page and want to start a totally different task. What does /clear do?
Quiz
Not started
Which prompt is best for a first session?

What's next?

Claude Code forgets each session when you clear it. Next, you'll give it a permanent memory for your project with a CLAUDE.md file.