Day 2, 30 minutes · beginner
Why it matters
The best way to learn Claude Code is on a project where nothing can go wrong. Today you make one: a tiny website for Marlow Bakehouse, the made-up bakery from lesson 1. You do not write any code yourself. You describe the site, Claude Code builds it, and you approve each step.
That approval is the real lesson. Claude Code can create files and run commands on your computer, so it matters that you see what it is about to do and say yes or no. Today you slow it down on purpose, read every permission prompt and learn what a good first request looks like.
At the end you have a practice repository with a working one-page site, one saved starting point, and one small change you asked for and checked in your browser. You will keep building on this same site until lesson 7.
Three new words
- Git is a free program that keeps the history of a folder. Each time you save a version, git remembers exactly what changed. Claude Code works well with git: it can read the history and make new versions for you.
- Repository (or repo) is a folder that git keeps the history of. Your
marlow-bakehousefolder becomes one today. - Commit is one saved version in that history, with a short message that says what changed. Today Claude makes the first commit: your starting point. In lesson 6 you learn to review a commit before it is made.
Git is not part of Claude Code. The Claude Code setup page calls it optional. The quickstart recommends Git for Windows on Windows, so Claude Code can use its Bash tool. For this course you need it, so check it first.
Why start in Manual mode
A permission mode decides what Claude Code may do without asking you. The docs say new terminal sessions start in auto mode when it is available: a second model checks each action in the background and blocks risky ones, so you see few prompts. That is handy later. Today you want to see every step, so you start in Manual mode, where Claude Code asks before it edits a file or runs a command that is not read-only. Lesson 5 covers all the modes.
What a permission prompt shows
When Claude wants to act, Claude Code pauses and shows a prompt. For a command, it shows the command itself, a short description and the question whether you want to proceed. For a file, it shows the file and the change. You answer with Yes or No. If you choose No, Claude stops and waits, and you can tell it what to do instead.
Read the prompt every time. After ten prompts it is tempting to press Enter without looking. The docs name that exact risk as the downside of Manual mode.
The steps
- Check git. One command tells you if it is installed.
- Start Claude Code in Manual mode inside your practice folder.
- Describe the site you want in one clear request: what goes on the page, what files to make, and what not to use (no libraries, so the site stays plain). The same request asks for the first commit.
- Approve each step after reading it. You will see prompts for writing files and for git commands.
- Ask a question first, then ask for a change. A question changes nothing and shows you how Claude reads your project. Then ask for one small, clear change.
- Check the result yourself by opening the page in your browser.
Follow the steps for Claude Code below.
How Claude works on a request
The How Claude Code works page describes a loop. Claude gathers context (it reads files and looks around), takes action (it edits files or runs commands) and checks the result. Then it repeats until the task is done. For a question it may only read. For a change it goes round the whole loop. You can step in at any moment: Esc stops it, and a new message steers it.
Example: Tilda's first change
Tilda pasted the setup request. Claude Code asked to create index.html and showed the content. She chose Yes. It asked again for README.md, then to run git init, then to add the files and commit. On the commit, git said it did not know her name. Claude stopped, as asked, and showed the two commands to set a name and email. She ran them herself and told Claude to try again.
Then she asked which lines hold the opening hours. Claude named the file and the list, and she found them in a text editor. Her change request was one line: add Sunday, 9:00 to 13:00, change nothing else. The prompt showed one new line in the list. She said Yes, opened the page in her browser and saw Sunday.
Common mistakes
- A vague request, such as "make me a website". Claude fills the gaps with its own guesses. Say what goes on the page.
- Approving without reading. The prompt is the moment you can stop a mistake before it happens.
- Two changes in one message on your first day. One change at a time is easier to check.
Deeper dive
Today's actions
Ticks are not saved without an accountDo it in Claude Code
Claude Code
- In your terminal, run
git --version. A version number means git is installed. If it is not found, install git first. On Windows, Claude Code's docs recommend Git for Windows: keep the default choices in its installer. - Go into your practice folder and start Claude Code in Manual mode, so it asks before every change. Run one line at a time. The bar under the prompt box should read
manual mode on.cd marlow-bakehouse claude --permission-mode manual - Paste this request and press Enter. Claude Code will ask your permission several times.
Set up a tiny practice website in this folder for a made-up bakery called Marlow Bakehouse, run by Tilda. Create index.html: one page with the bakery name, one sentence about it, opening hours (Tuesday to Saturday, 8:00 to 16:00) and a list of three breads with a price in euros. Use plain HTML with a little CSS in the same file, no libraries. Create README.md with two lines about the project. Then turn this folder into a git repository and make a first commit with the message "Start the Marlow Bakehouse practice site". If git says it does not know my name or email, stop and show me the commands to set them. Do not set them yourself. - Each permission prompt shows what Claude wants to do: the file it will write or the command it will run. Read it, then choose Yes and press Enter. Choose No if anything looks wrong, and say why in your next message.
- Ask a question about the project. Then open index.html in a text editor and check that Claude's answer matches the file.
What does this project contain, and which file and lines would I change to update the opening hours? - Ask for one small change. The prompt for the edit shows the lines it will change. Read them before you choose Yes.
Add Sunday to the opening hours: 9:00 to 13:00. Change nothing else. - Open the marlow-bakehouse folder in your file manager (it is in your home folder) and double-click index.html to open it in your browser. Check that Sunday is there.
- Type
/exitto end the session. Your change stays in the file. It is not committed yet: you will review and commit it in lesson 6.
Note: Claude Code also offers Yes, and don't ask again on some command prompts. That saves a rule so the same command never asks again in this project. Choose plain Yes for now; lesson 5 explains rules. Pressing Esc on a prompt is the same as No.
Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up