Make one small website on your Mac: a page for Clay Morning, a fictional pottery class. You’ll open it, click its class-details button, then move the class one hour later. Try the first version from our test. Click See class details. The same button is your first test when you build your own.

You need internet access and a Claude account with Claude Code access. This guide uses the Mac terminal and the Claude subscription sign-in option. If your organization provides access a different way, follow its sign-in instructions. Your page may have different colors or spacing. The button label, times and file name below are the checkpoints that matter.

1. Open Terminal and check whether Claude is installed

Press Command–Space, type Terminal, then press Return. In this guide, a command goes in Terminal. A prompt goes inside Claude after step 3. For each code box, click its copy button, click the correct window, press Command–V, then Return.

claude --version

Look for: a version number followed by (Claude Code). If it appears, go directly to step 2. Your version can differ from ours.

Terminal printed the installed version. Go to step 2 when you see “Claude Code”.
Terminal printed the installed version. Go to step 2 when you see “Claude Code”.

If you see “command not found: claude”: copy this macOS installer command from Anthropic’s quickstart and run it in Terminal. Wait for the installer to finish. Press Command–N while Terminal is active to open a fresh window, then run the version check above again. Continue once it prints a version. If it still fails, use Anthropic’s installation help.

curl -fsSL https://claude.ai/install.sh | bash

2. Make an empty folder for the website

In Terminal, run this command. It creates a folder in Documents and moves you inside it. A successful command usually returns to the prompt without a message.

mkdir ~/Documents/clay-morning-en && cd ~/Documents/clay-morning-en

Run the next two commands separately. The first should print clay-morning-en. The second should return to the prompt without listing any files. If the first command above said File exists, stop before launching Claude: open that folder in Finder and check what’s there. If it’s your empty lesson folder, run cd ~/Documents/clay-morning-en and repeat these checks.

basename "$PWD"
ls -A
The folder name is clay-morning-en. Nothing is listed after ls -A.
The folder name is clay-morning-en. Nothing is listed after ls -A.

3. Start Claude in that folder

In the same Terminal window, run:

claude

First use only: if asked to choose a text style, leave the highlighted option selected and press Return. At Select login method, use the arrow keys to choose Claude account with subscription if that’s the account you use, then press Return. Follow the sign-in instructions in your browser and return to Terminal. If you’re already signed in, this screen may be skipped. Anthropic’s first-use guide covers this step.

On a fresh start, choose the sign-in method for your account. The subscription option is outlined.
On a fresh start, choose the sign-in method for your account. The subscription option is outlined.

At the folder check: verify that the path ends in /Documents/clay-morning-en. Use the arrow keys until the selection marker points to Yes, I trust this folder, then press Return. If an optional browser-tools prompt appears, choose the option to keep those tools off; they aren’t needed here.

Move the selection marker to the outlined Yes option before pressing Return.
Move the selection marker to the outlined Yes option before pressing Return.

Look for: Claude’s input line with a ❯ marker. The faint example after it is a suggestion. Click the window and paste your own prompt in step 4.

The input line begins with ❯. This is where the website request goes.
The input line begins with ❯. This is where the website request goes.

4. Ask Claude to write one file

At Claude’s ❯ prompt, paste this whole paragraph and press Return. It gives the button an exact label and asks for three values you can check later.

Build a one-page English website for Clay Morning, a fictional Phuket pottery class. Create only index.html. Use inline CSS, warm ivory and terracotta, a large heading "Clay Morning", and a simple bowl illustration. Show "Saturday 10:00" on the opening screen. Add a button labeled "See class details" linking to #details. In that section show Start 10:00, Finish 11:30, Duration 90 minutes. Make the page work on phones. No packages, external files or booking forms. Stop after writing the file.
Our website request in Claude’s input line. Press Return to send it.
Our website request in Claude’s input line. Press Return to send it.

Wait while Claude prepares the file. If it asks Do you want to create index.html?, confirm the filename, choose the first Yes with the arrow keys, and press Return. In a mode that already allows edits, you may go straight to completion. Wait for the message that index.html was written and for the input line to return.

The request names index.html. Choose the outlined first Yes to allow this file.
The request names index.html. Choose the outlined first Yes to allow this file.

5. Open the page and test its button

With Terminal active, press Command–T. You now have two tabs in the same window: the first still runs Claude; the new tab takes ordinary Mac commands. In the new tab, run:

ls ~/Documents/clay-morning-en/index.html

Look for: a path ending in /clay-morning-en/index.html. If you see No such file, click the first tab and check whether Claude is still working or waiting for your Yes. Once the file is there, run this in the second tab to open it in Safari:

In the second Terminal tab, ls prints the path to the file Claude just wrote.
In the second Terminal tab, ls prints the path to the file Claude just wrote.
open -a Safari ~/Documents/clay-morning-en/index.html

Safari should show Clay Morning, Saturday 10:00 and a See class details button. This is your local file. The comparison links in this guide open our saved example on the web.

First version from our English prompt. Click the outlined See class details button.
First version from our English prompt. Click the outlined See class details button.

Click See class details. You should land on Start 10:00 · Finish 11:30 · Duration 90 minutes. If the section already fits on screen, the page may barely move; look for #details at the end of the address. Compare the initial details.

Before the edit: start 10:00, finish 11:30, duration 90 minutes.
Before the edit: start 10:00, finish 11:30, duration 90 minutes.

6. Change the class time, then check the same page

Switch back to Terminal and click its first tab. Look for ❯ again. Paste this follow-up and press Return:

Edit only index.html. Move the Saturday class one hour later. Show 11:00 on the opening screen and in the details; the finish is now 12:30. Keep the duration at 90 minutes. Keep "See class details" linked to #details and leave the design unchanged.

When asked to edit index.html, check the proposed time changes, select the first Yes, and press Return. Claude may ask more than once as it edits different parts of the file. Wait for its completion message.

Review the marked-up lines for index.html, then choose the first Yes.
Review the marked-up lines for index.html, then choose the first Yes.

Return to the Safari tab displaying your local file and press Command–R. Scroll to the top: the class should now start at 11:00. Click See class details again. The three values should read 11:00, 12:30, 90 minutes. When the link and all three values match, you’re finished. Open the revised example.

After reloading: start 11:00, finish 12:30, duration 90 minutes.
After reloading: start 11:00, finish 12:30, duration 90 minutes.

If a time is still wrong: tell Claude which one you can still see, for example “The finish in the details section still says 11:30. Change it to 12:30.” Wait for the edit, refresh Safari, and check again. If the permission menu differs from the picture, Anthropic explains the permission modes here.