Guided Build: Your Core Screen
Today You Actually Build
This isn't a lesson about building. This IS the building. By the end of this session, you'll have a real, visible main screen for your project running in Replit. Not finished — but real.
This is going to take longer than the earlier lessons, and that's expected. Building a real thing is harder than reading about building. If AI gives you something weird and you have to iterate a few times, that's normal — Lesson 5.2 told you nothing works the first time. Don't panic if it takes a while. Take breaks when you need them.
Before You Start — Checklist
- Your project plan from Lesson 2.5 is open
- Your Replit account is set up and you can create a new Repl (you did the test drive in Lesson 3.3)
- You know which track you're on (1, 2, or 3) and what you're building
- A parent or older sibling is reachable while you work — even confident kids hit a stuck moment in their first build session
If any of these aren't ready, pause and set them up now. If Replit isn't working, go back to Lesson 3.3 and complete the setup first.
Stuck? Two-tier safety net
If your build session goes sideways, don't keep grinding. The Module 5 Starters page has two safety nets you can fall back on at any time:
- Starter prompts for each track — fully filled-in prompts that reliably produce a working baseline. Copy your track's prompt into a fresh Repl and you're back on track.
- Working starter projects — finished, runnable versions of each track's project. The starters page explains two ways to use them: (a) study them as a reference and describe specific features to AI in your own words, or (b) view the source and copy it as a fresh starting point.
Try the starter prompt first; the working code is your last resort if prompts aren't getting you there.
Replit reality check (read this once before you start)
Three things to know about working in Replit so you don't get tripped up:
- You don't need to "save" or "open in your browser." Replit auto-saves everything as you go, and the live preview pane on the right is your browser preview. Just keep working.
- Your project lives in a Repl, not in files on your computer. If a prompt or instruction in this course says "open the file" or "save as index.html," what it really means in Replit is "the AI agent should put the code in the file called index.html." AI handles the file management — you just describe what you want.
- To test on mobile, use the share URL. Click Replit's Share or Webview button to get a URL for the live preview, then open that URL on your phone. (You don't need to "resize your browser to 375px" — opening the URL on an actual phone is better.)
Track 1: Personal Productivity Tool — Build Session 1
Only follow this step if you're on Track 1. If you're on Track 2 or 3, click "Next" to find your track.
What you're building today: The main screen of your productivity tool — the screen users see first and use most.
Step 1: Create a new Repl for your real project. Go to your Replit dashboard and create a new Repl using the HTML/CSS/JS template (same way you did the test drive in Lesson 3.3). Name it something like habit-tracker or whatever fits your project. This is the Repl your final deployed project will live in.
Step 2: Send the build prompt to the AI panel. Below is the template, then a fully filled-in example you can adapt. Paste your version into Replit's AI / Agent panel.
Template (copy this and replace the bold parts with your own info):
Fully filled-in example (use this exactly as-is if you want — it works):
Expected result: Replit's preview pane (the right side of your screen) updates to show a styled screen with the sample habits visible. It won't save your data between sessions yet — that's Session 2. If the preview looks broken or the page is blank, scroll down to the troubleshooting section.
Step 3: Evaluate what you got. Look at the preview and ask: Does it show the list of items I want to track? Can I see where I'd mark things complete? Is there a progress indicator? Does it look decent (not beautiful yet — just organized and readable)?
Step 4: Direct one revision. Almost nobody gets a perfect result on the first prompt. Pick the single most important thing to fix and tell AI. Examples — pick the one that matches your problem:
Step 5: Make it yours. Replace the sample habits with your actual habits and update the title. Send this prompt:
Track 1 Checkpoint — End of Session 1
You should now have, in Replit:
- A Repl named for your project, with a working live preview
- A main screen showing your list of items to track
- A way to mark items complete (checkboxes or buttons)
- Some kind of progress indicator (streak, percentage, or count of completed items)
- Your real project name and your real items — no leftover sample data
Replit auto-saves as you go, so there's nothing to "save" manually. The Repl is your foundation — everything else builds on it. If you don't have all five items above, keep iterating with AI until you do.
Stuck? Don't keep banging on the same prompt. Stop, take a 10-minute break, then either (a) get a parent or sibling to look at it with fresh eyes, or (b) start a new Repl and try a slightly different prompt. Walking away usually solves more than persisting.
Track 2: Creative Portfolio or Community Site — Build Session 1
Only follow this step if you're on Track 2. If you're on a different track, click "Next" to continue.
What you're building today: Your homepage — the first page visitors see, including navigation to other sections.
Step 1: Create a new Repl. From your Replit dashboard, create a new HTML/CSS/JS Repl. Name it for your project — art-portfolio, book-recs, etc.
Step 2: Generate your homepage. Below is the template, then a fully filled-in example. Pick one and paste into Replit's AI / Agent panel.
Template (replace bold parts):
Fully filled-in example (works as-is for a book recommendation site):
Expected result: The Replit preview pane shows a homepage with hero, navigation, a 3-card grid, and footer.
Step 3: Evaluate. Does the hero clearly say what the site is? Does the navigation make sense? Does the grid look like a preview of your real content? To check mobile, click Replit's Share button to get a URL, then open it on your phone.
Step 4: Customize with your content.
Step 5: Add the other pages.
Track 2 Checkpoint — End of Session 1
You should now have, in Replit:
- A Repl named for your project with a working live preview
- A homepage with your real site name, tagline, and 3 preview cards
- A working navigation bar
- 2–3 additional placeholder pages reachable through navigation
- A layout that works on mobile (test by opening the Replit share URL on your phone)
Replit auto-saves everything. Don't worry about file management — the AI panel can create and edit files in your Repl when you ask.
Stuck? Take a 10-minute break, then ask a parent or sibling to look at it with fresh eyes, or start a fresh Repl with a slightly different prompt.
Track 3: Data Explorer Dashboard — Build Session 1
Only follow this step if you're on Track 3. If you're on a different track, click "Next" to continue.
What you're building today: Your dashboard layout with at least one working chart and your data connected.
Step 1: Prepare your data. Have your dataset ready — at least 5–10 rows of real or realistic sample data. It can be from a Google Sheet, a CSV, or just typed out. AI will use whatever you paste in.
Step 2: Create a new Repl. From your Replit dashboard, create a new HTML/CSS/JS Repl. Name it for your project — spending-dash, sports-stats, etc.
Step 3: Generate your dashboard. Below is the template, then a fully filled-in example.
Template (replace bold parts):
Fully filled-in example (works as-is for a personal spending tracker):
Expected result: Replit's preview pane shows a dashboard with summary metrics at the top, a working bar chart in the middle, and a data table below.
Step 4: Evaluate. Does the chart actually render (not just an empty box)? Do the summary numbers make sense? Is the data table readable? To test mobile, click Replit's Share button and open the URL on your phone.
Step 5: Add a second chart. A real dashboard tells a story with multiple views.
Track 3 Checkpoint — End of Session 1
You should now have, in Replit:
- A Repl named for your project, with a working live preview
- 3–4 summary metric cards with real numbers
- At least 2 charts that actually render with your data (not empty boxes)
- A data table showing the raw rows
- Your real data, not just placeholder sample data
Replit auto-saves. In Session 2, you'll add interactivity (filters, user input) and persistent storage.
Stuck? Take a 10-minute break, then ask a parent or sibling to look at it with fresh eyes, or start a fresh Repl with a slightly different prompt.
When Things Go Wrong (And They Will)
Three common problems and the prompts that fix them. In Replit you don't need to "paste the code" — the AI panel can already see your project. Just describe the problem.
The preview is blank or shows an error. Most likely cause: a typo in the code AI generated.
It works but looks completely different from what I asked for. Your prompt wasn't specific enough. Don't start over — describe the gap.
It partially works but one section is broken. Isolate the problem area.
KEY CONCEPTS
KEY CONCEPTS — LESSON 5.3
1. Your first AI-generated code is a starting point, not a finished product. Evaluate it, then iterate.
2. Be specific in your prompts: describe layout, features, colors, and include sample data so you can see results immediately.
3. Fix one thing per prompt. Don't try to change five things at once — you won't be able to tell what worked.
4. Replace sample data with your real project content before ending the session.
5. Replit auto-saves your Repl as you work — there's no "save the file" step. Just keep working until your checkpoint is met.
Level Up: Coming Next
Lesson 5.4 — Guided Build: Functionality & Data. Transform your static screen into a fully functional project with user input and data storage.
Continue to Lesson 5.4 →