Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Claude Fundamentals
  1. Tracks
  2. ›Claude Fundamentals: Module 3
  3. ›HTML Artifacts: interactive web apps in one prompt
2

Level 2 · Lesson 20 of 50 · Free

HTML Artifacts: interactive web apps in one prompt

A running app you use, not a file you download

After this, you'll be able to ask Claude for an interactive app and use it live in the panel. You'll explain why an HTML Artifact is a running app you operate, not a document you download and store.

Before you start

Complete Code Artifacts: clean code Claude writes so you never have to first; this lesson builds on that one by moving from code you copy elsewhere to the artifact type that actually runs in the panel, so you need the code-versus-running distinction it sets up.

The idea

An HTML Artifact is a working web app (a small tool built with the web's page language, HTML) that runs right in the panel. A mortgage calculator, a quiz, a habit tracker, anything self-contained that runs in a browser can be one. This is the one you click, type into, and operate like a real app.

Worked example

Before and after

Without this, you compare two mortgage options in a clunky bank calculator, re-entering the same numbers twice. With Claude, you ask for a calculator with sliders, and a working app appears where you drag a slider and watch the payment update.

The most common misread is seeing the Export option and assuming the app is a file you save, like a PDF. It is not. It is a live app you use inside the panel, clicking its buttons and dragging its sliders.

HTML Artifacts work on the Free plan (as of Nov 2026). Claude may build one with React, a web toolkit, instead of plain HTML. Either way you use it the same way, and lesson 23 covers when each fits.

An app can also call Claude itself. This is an AI-powered artifact: whoever opens it signs in with their own Claude account, and their use counts against their own plan, not yours. New ones ask your permission the first time they need Claude, and a switch for it sits under Settings, then Capabilities.

In ChatGPT and Gemini: Gemini's Canvas can build apps from a prompt and show them in the side panel. Anyone with a public Canvas app link can view and edit that app's data, so keep private numbers out of it. ChatGPT's code blocks preview HTML and React in the chat, so a small app can run there too (its canvas side window is gone in newer models).

Now try it: send "Build me a mortgage calculator as an interactive app, with sliders for loan amount, interest rate, and loan length in years. Show the monthly payment and total interest, and update them live as I move the sliders." Then drag a slider and watch the payment change.

If the numbers move as you drag, you are operating a running app, not opening a file you downloaded.

Try it (10 min)

Paste this into Claude

Build me an interactive web app I can use right here in the panel. Do not give me a file to download; give me a working app.

Make a mortgage calculator with:
- A slider for loan amount (from $50,000 to $1,000,000)
- A slider for annual interest rate (from 2% to 10%)
- A slider for loan length in years (15, 20, or 30)

It should show, updating live as I move any slider:
- The estimated monthly payment
- The total interest paid over the life of the loan

Make it clean and easy to read. The key thing: when I drag a slider, the monthly payment and total interest should change immediately, without me clicking anything else.

What a good response looks like

A mortgage calculator opened in the panel with three sliders.

Loan amount: $300,000 Interest rate: 6.5% Loan length: 30 years

Monthly payment: $1,896 Total interest paid: $382,633

Drag the loan length slider from 30 to 15 years and both numbers update at once:

Monthly payment: $2,613 Total interest paid: $170,398

What I built: one page with three sliders and two results. Every slider calls the same payment formula, so nothing needs a Calculate button. Note that this is an estimate of principal and interest only. It leaves out property tax, insurance, and fees, so your lender's number will be higher.

Check yours against

  • A working app opened in the Artifact panel with three sliders
  • Dragging any slider changes the monthly payment immediately, with no extra click
  • Both the monthly payment and the total interest are shown and clearly labeled
  • You changed the loan length and saw the monthly payment move in the expected direction
  • You can explain, in one sentence, why this is a running app and not a file you downloaded
  • Clicking Export and thinking that is the point; the app already works in the panel, Export just lets you take it elsewhere
  • Calling it 'a file' in your head; that misread stops you from actually using the live controls
  • Asking for an app that needs your real bank data; by default an HTML Artifact runs on what you type and cannot reach your accounts unless you connect a tool
  • Cramming in ten features at once; a focused app (one calculator, one quiz) is far more likely to work on the first try
  • Expecting the app to remember your inputs for next time; do not count on it, so screenshot or export anything you want to keep

When this breaks

  • Breaks when you treat the HTML Artifact as a static file to download and store because you then never touch the live controls, so a working app sits unused as if it were a screenshot.
  • Breaks when the app is asked to reach your real accounts or the live internet on its own because by default an HTML Artifact runs on the inputs you give it, so without a connected tool anything needing outside data fails silently, and a connected tool needs your sign-in and approval.

AI can help with this

Paste this into claude.ai, filling in the brackets: 'Build me an interactive web app I use right in the panel, not a file to download. Make a [calculator / quiz / tracker] with [the controls you want]. Show [the results you want], updating live as I change a control. Keep it focused and easy to read.'

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

Without scrolling up, think of a small tool you'd use again and again. Write the request that gets you a working app, and say what you'd do in the panel to use it.

One good answer: 'Build me a tip splitter with a field for the bill and a slider for the number of people. I'd type a bill and drag the slider.' If you describe controls you'd operate in the panel, not a file to download, that works.

Key takeaways

An HTML Artifact is a running app you operate in the panel, not a file you download. The interactivity is the point; Export is just the option to take a working app with you.

  1. 1Use the live controls in the panel; an HTML Artifact is a working app, not a static download.
  2. 2Read Export as 'take it with you,' not as 'this is just a file you save.'
  3. 3Expect apps to run on what you type by default; reaching your accounts or the live web needs a connected tool you set up.
  4. 4Build one focused app at a time so it works on the first try instead of guessing across features.
  5. 5Screenshot or export anything you want to keep; do not count on the app remembering your inputs.

Go deeper

  • Anthropic: What are Artifacts and how do I use themsupport.claude.com (opens in a new tab) ↗
Up nextSVG Artifacts: diagrams, icons, and visual outputs→

Was this helpful?

← Back to Claude Fundamentals