What You're About to Do
You'll use Claude to create a visual, interactive tool. Claude will build a web-based interface with buttons, forms, and displays based on your description. This is more visual than conversational.
The Four Phases:
- Phase 1: Build - Claude creates your HTML app (15 min)
- Phase 2: Test Locally - Test on your computer (10 min)
- Phase 3: Understand Deployment - Learn hosting options (5 min)
- Phase 4: Deploy - Make it live with Netlify (10 min)
Total Time: About 40 minutes
π¦ PHASE 1: BUILD YOUR HTML APP
Instructions:
- Open your web browser
- Go to claude.ai
- Log in to your Claude account (free or paid)
- Start a new conversation
What You Should See: A clean chat interface with a message box at the bottom where you can type.
You need to be specific that you want an HTML file, not just text.
What to Type:
Create an interactive HTML app as a single file that I can download and share with students.
[Paste your complete prompt from Week 1 here]
Make sure to include:
- All CSS styling in the file
- All JavaScript in the file
- Local storage so students' work saves in their browser
- A clean, professional design
- Mobile-friendly layout
π‘ Important:
The phrase "as a single file" and the technical requirements tell Claude exactly what you need. Without these, it might create something you can't easily use.
What Happens:
- Claude will write the HTML code
- It will appear in a code block in the conversation
- The code might be quite long (100-500 lines depending on complexity)
What You'll See: A response from Claude that includes explanation of what it built and the complete HTML code in a dark code block.
Instructions:
- Look for the code block (it will have a dark background with HTML code)
- In the top right corner of the code block, click the "Copy" button
- Open a text editor on your computer:
- Windows: Notepad (search for it in Start menu)
- Mac: TextEdit (in Applications folder)
- Paste the code into the text editor
- Save the file:
- Click File β Save As
- Important: Name it with
.html at the end
- Example:
reflection-journal.html
- Save it somewhere you can find it (Desktop or Documents)
π For Mac TextEdit Users:
Before pasting, go to Format β Make Plain Text. This prevents formatting issues.
π§ͺ PHASE 2: TEST YOUR HTML APP LOCALLY
Instructions:
- Find the HTML file you just saved
- Right-click on the file
- Choose "Open With"
- Select your web browser (Chrome, Firefox, Safari, Edge - any will work)
Alternative Method:
- Open your web browser first
- Press Ctrl+O (Windows) or Command+O (Mac)
- Navigate to your HTML file and open it
What You Should See: Your interactive app loads in the browser, looking like a real web application.
What to Test:
Basic Functionality:
- Can you type in the text areas?
- Do buttons respond when clicked?
- Does the layout look good?
- Is everything readable?
Save Functionality:
- Type something in a text field
- Click the Save button (if you have one)
- Close the browser tab
- Re-open the HTML file
- Did your text stay saved? (This tests local storage)
Mobile View (Optional but Recommended):
- Make your browser window narrower (drag the edge)
- Does it still look good on a small screen?
- Can you still read and interact with everything?
π©βπ« Pretend You're a Student:
Is it clear what to do? Are instructions obvious? Does it feel easy to use?
If something needs to change, go back to your Claude conversation and ask for updates.
Examples of What to Ask:
For Styling:
"Can you update the HTML to make the font size larger (16px) and use softer colors - sage green and cream?"
For Functionality:
"The save button isn't working. Can you fix the local storage so students can save their work and see it when they come back?"
For Content/Layout:
"Add a welcome message at the top and include an example response for the first prompt."
Claude will generate updated code. Copy it, paste into your text editor, save, and test again. Keep iterating until it feels solid.
π PHASE 3: UNDERSTAND DEPLOYMENT
The Reality Check:
Right now, your HTML app works on YOUR computer. To share it with students, it needs to be hosted online.
What is Hosting?
Hosting means putting your HTML file on a web server so it has a web address (URL) that anyone can access.
π‘ Analogy:
Think of your HTML file like a handout. Right now, it's on your desk (your computer). Hosting is like making copies and putting them in a filing cabinet that everyone can access (the internet).
You have several options. For this lab, we recommend Netlify Drop because it's free, simple, and gives you a real web link.
Option A: Google Drive (Quick but Limited)
How it works: Upload your HTML file to Google Drive and share the link.
Pros: You already have it β’ Very easy β’ Free
Cons: Students have to download and open it locally β’ Not a "real" web link
Best for: Quick testing with colleagues
Option B: Netlify Drop (Recommended)
How it works: Drag your HTML file into Netlify, get a real web link.
Pros: Free β’ Drag-and-drop simple β’ Real web link β’ Students just click and use
Cons: Requires creating free account β’ Small learning curve
Best for: Actually deploying for student use
π PHASE 4: DEPLOY WITH NETLIFY DROP
- Go to netlify.com
- Click "Sign Up" in the top right
- Sign up with: Email, GitHub, or Google (choose easiest)
- Verify your email if required
What It Costs: Nothing. The free plan is plenty for student tools.
- After logging in, look for "Deploy" in the navigation
- Click it, then select "Deploy manually"
- You should see a box that says "Drag and drop your site folder here"
Alternative: Go directly to app.netlify.com/drop
- Find your HTML file (on Desktop or Documents)
- Drag it into the Netlify Drop box
- Release to drop it
- Netlify uploads and processes (takes 5-10 seconds)
- It generates a web link
π Note:
You're uploading just ONE file. Everything is contained in that HTML file, so you don't need to upload anything else.
After Upload:
Netlify shows you a success screen with a randomly generated URL like:
https://amazing-curie-7a3f2b.netlify.app
Your App Is Now Live!
That URL is a real web address. Anyone with the link can access your app.
Test It:
- Click the URL
- Your app opens in a new tab
- Test it just like you did locally
- This is what students will see
Instead of amazing-curie-7a3f2b.netlify.app, you can change it to something like bio-reflection-journal.netlify.app
- In your Netlify dashboard, find your site
- Click "Site settings"
- Look for "Change site name"
- Enter a new name (must be unique across all Netlify sites)
- Save
β
What You Now Have
Your Claude Interactive HTML App is Complete!
What You Built:
- A visual, interactive web application
- Professional-looking interface
- Functional save features
- Mobile-friendly design
What You Learned:
- How Claude generates HTML apps
- How to test HTML files locally
- What hosting means and why it's needed
- How to deploy with Netlify
Your Link: Copy your Netlify URL and save it below in the "Link to Your Tool" section.
Next Step: Move to the testing section below where you'll refine based on real use.