Build real things

Project 1: your personal landing page

Build and improve a one-page website with Claude Code or an artifact.

3 min + hands-on15 / 18

Goal: a clean one-page website about you or a small project. You can do this in the chat as an , or in Claude Code with real files.

  1. Collect your content: a name, one sentence about what you do, three bullet points, a contact email.
  2. Start with the below.
  3. Open the result in a browser and list three things you would change.
  4. Ask for those changes in one message.
  5. Ask Claude to check the page on a phone-sized screen.

Prompt: landing page

Build a one-page website in a single index.html file. Name: {{your name}}. What I do: {{one sentence}}. Sections: hero with a headline, three feature cards, a short about section and a contact button that opens an email to {{your email}}. Style: calm, lots of white space, one accent colour {{colour}}. It must look good on a phone. Use plain HTML and CSS, no frameworks. When done, tell me how to open it.

Everything needed is in one prompt: content, structure, style, constraints and a finish line.

Prompt: review your own work

Review index.html as a critical designer. List the five biggest problems with spacing, readability and mobile layout. Do not change anything yet. Then wait for me to pick which to fix.

Plan first, change second.

Before you publishCheck that the page contains no private information, and only publish if you are happy with every word. A tool that builds it for you does not decide what is safe to share.

Done when…

  • The page opens in a browser and looks good on a phone.
  • The contact button opens an email to the right address.
  • You have read every word and would show it to a stranger.

Common problems and fixes

ProblemFix
It looks genericGive one website you like as a reference and three words for the mood.
Text overflows on the phoneAsk: “Check the layout at 390 pixels wide and fix anything that overflows.”
Every change breaks something elseOne change per message, and commit after each one that works.
Level upAsk Claude to add a short FAQ section and a dark mode, then compare: did either make the page better or only longer?

Check yourself

1. What does the second prompt ask Claude to do first?
2. Why say "single index.html file, plain HTML and CSS"?
3. Every change breaks something else. What helps most?

Tip: use ← and → to move between lessons.