Learn AI Curriculum Cookbook

Ship Something 15 min

Build · A live webpage

A working one-page site you can share. ~15 min, no install.

You'll generate a real working webpage inside a chat app's artifact/canvas panel, iterate on it visually, then save the HTML to your machine. Optional last step: deploy it to a free host with a public URL.

0 of 9 steps
1

Open a chat app with artifacts

Claude.ai and ChatGPT both have a side-panel artifact / canvas feature. Either works.

You should see

Signed in, looking at the new-chat screen.

2

Start a fresh chat

Click New chat. Make sure it's a regular chat (not inside a project that has unrelated instructions).

3

Paste the build prompt

Copy and paste this exactly. Hit Enter.

Build prompt
Build a one-page website for me as a single self-contained HTML file (style and JS inline, no external dependencies, no CDN imports).

Purpose: a "what I'm working on" portfolio page.
Sections:
1. Header with my name and a one-line bio.
2. Three project cards — each with a title, a one-line description, and a fake link.
3. Footer with a contact email and a small "made with AI" note.

Style: warm but modern. Generous whitespace. Serif headings (Iowan/Georgia/system serif), sans-serif body. Soft cream background (#fbf6ef). Single accent color #cc5500.

Constraints:
- Works fully offline. No external assets.
- Mobile responsive — sections stack on small screens.
- Plain semantic HTML, accessible.

Ask one clarifying question if you need my name or bio. Otherwise use placeholders and I'll edit after.
You should see

Within a few seconds the right side of the screen opens an artifact / canvas panel and starts rendering the webpage live. The chat may also ask for your name and bio.

4

Answer the clarifying question

Reply with your name, a one-line bio, and three project ideas. Or use placeholders:

Sample reply
Name: Jane Doe
Bio: I build small tools and write short essays.
Projects:
1. Sourdough log — a site tracking hydration vs crumb structure
2. City sounds — field recordings from cities I've lived in
3. Bookshelf — what I'm reading and why
You should see

The artifact updates in-place with your real content. The page should look reasonable.

5

Iterate — one change at a time

Paste each of these as a separate message. Watch the artifact update after each.

Iteration 1
Use a dark background instead — near-black (#0d0d0d) with cream text. Keep the same accent.
Iteration 2
Make the three project cards equal height and add a subtle hover effect.
Iteration 3
Add a small 'now' section above the projects — a single line about what I'm focused on this week.
You should see

The page evolves: darker theme → equal-height cards → an extra "now" section. If something looks off, ask for a fix in plain English.

6

Open the artifact full-screen and inspect

Most artifact panels have a preview mode (eye icon) and a code mode (</> icon). Toggle between them. Try the page on your phone (most chats let you preview on mobile, or you can resize the browser).

7

Download the HTML

Click the download button on the artifact (or copy all the code and save to a file named index.html).

You should see

You have index.html on your machine. Double-click it — it opens in your browser. That is a webpage you made.

8

Deploy it (optional)optional

Want a public URL? Free options: Cloudflare Pages, Netlify Drop, GitHub Pages. Cloudflare and Netlify both have a drag-drop deploy that takes 30 seconds.

Ask the chat for help
I have a working one-page HTML file. Walk me through deploying it for free in 3 minutes. I want a public URL I can share. Options I've heard of: Cloudflare Pages, Netlify, GitHub Pages, Vercel. Recommend one and give me literal step-by-step instructions for that one.
You should see

A public URL you can share. Done.

9

Save the chat — it's your edit history

The chat thread now contains every version of your page. Bookmark it. To make future changes, come back and ask the chat — it'll see the whole history.

What you just learned. Chat-with-artifact is a complete dev loop for small things: prompt → preview → iterate → export → ship. For anything bigger than one page, graduate to a UI generator (v0, Lovable, Bolt) or to a coding CLI (next build).