From One Page to a Full Website — Cursor AI's Multi-Page Workflow Explained
Cursor AI — Module 2: Build a Real Multi-Page Website
Module 1 got you a single page. Module 2 is where it becomes a real website — multiple pages that share a consistent design, full mobile responsiveness, and a deployment workflow you can repeat for every future project.
One page is easy. A real site needs a homepage, an about page, and content pages that all feel like they belong together. This module walks through building that — using Cursor's project-wide context, consistent prompting patterns, and the debugging skills that turn "almost working" into "actually working."
This module assumes you've completed Module 1. If you haven't installed Cursor or built your first page yet, start there.
Setting Up a Proper Project Folder
Cursor works best when it can see your entire project, not just one open file. Before building multiple pages, set this up correctly.
Open the Whole Folder, Not Just a File
In Cursor: File → Open Folder → select your project folder. This is the single biggest thing that makes Cursor's output better — it reads every file and understands how they connect.
Create Your File Structure Upfront
Create empty files before asking Cursor to fill them in: index.html, about.html, post.html, style.css. This gives Cursor a clear map of what needs to be built.
Build the Homepage
Homepage Prompt
Open index.html, open the chat panel, and use this prompt:
Build me a complete homepage for a personal blog called "My AI Journal" using HTML and CSS. Requirements: - Link to style.css for all styling — no inline styles - Navigation bar: Home, About, Contact - Hero section with a big headline and short tagline - "Latest Posts" section with 3 placeholder post cards (title, excerpt, date, Read More link) - Simple footer with name and copyright year - Clean modern design — white background, dark text, one green accent color - Fully responsive on mobile Pure HTML and CSS only. No frameworks.
Build the About Page — Keeping It Consistent
About Page Prompt
Create an About page (about.html) that matches the style of my existing index.html. Include: - Same navigation bar as index.html - Profile section: placeholder avatar, name, short bio paragraph - "What I Write About" section with 3 short topic cards - "Tools I Use" section mentioning Cursor AI, ChatGPT, and Claude - Same footer as homepage - Import the same style.css Keep the design consistent. Reuse the same classes where possible.
Build a Blog Post Page
Blog Post Template Prompt
Create a blog post template page (post.html). Requirements: - Same nav and footer as index.html and about.html - Post title at the top: "How I Built My Blog With Cursor AI" - Post meta: date, author, read time - 3 content sections with H2 headings and paragraphs - A blockquote somewhere in the middle - "Related Posts" section with 2 card links at the bottom - Import style.css — match existing pages exactly
Make It Fully Responsive
Mobile Responsive Fix
Open style.css, open the chat panel, and run:
Review my style.css and add media queries for full mobile responsiveness. At mobile sizes (below 768px): - Navigation stacks vertically - Post cards go to a single column - Hero text gets smaller — no overflow - All padding reduces so content doesn't touch screen edges Do not change existing desktop styles. Only add responsive overrides inside media queries.
The skill that matters here isn't writing better code. It's referencing your own files clearly enough that Cursor keeps everything consistent without you having to repeat yourself.
Debugging — Fix Broken Things Fast
Copy the Error Message Exactly
From your browser console (F12 → Console tab). Don't describe it — paste the exact text.
Paste It Into Chat With One Line of Context
"I'm getting this error when I click the submit button" plus the pasted error is all Cursor needs.
Let Cursor Read the File
It usually finds the exact line and explains the fix in the same response.
Iterate if Needed
If it doesn't work the first time, reply "That didn't fix it — here's the new error" and paste the updated message. Two or three rounds almost always resolves it.
Deploy Your Multi-Page Site — Free in Under 10 Minutes
Create a Free Netlify Account
Go to netlify.com and sign up — no credit card needed.
Drag and Drop Your Folder
Find "Sites" on the dashboard and drag your entire project folder onto the deploy zone.
Get Your Live URL
Netlify gives you a URL like yoursite.netlify.app in about 30 seconds. All your pages are live and linked correctly.
Custom Domain (Optional)
Buy a domain from Namecheap (~$10/year) and point it to Netlify. Ask Cursor: "How do I connect a custom domain to Netlify?" — it'll walk you through the exact DNS steps.
Prompt Patterns Worth Saving
# 1. Consistency check across pages Check that the navigation bar is identical across index.html, about.html, and post.html. Fix any differences. # 2. SEO basics on every page Add a unique title tag and meta description to every HTML page in this project. # 3. Image optimization reminder Add loading="lazy" to every image tag across the project. # 4. Accessibility pass Add alt text to every image and aria-labels to icon-only buttons. # 5. Find broken links Check every internal link in this project and flag any that point to a page that doesn't exist.
Module 2 — What You've Learned
- Project setup: Open the whole folder for project-wide context
- Multi-page consistency: Reference existing files so new pages match automatically
- Mobile responsiveness: Targeted media query prompts that don't break desktop
- Debugging: Paste exact errors, iterate fast, never just say "it's broken"
- Deployment: A real 3-page site live on Netlify with a custom domain option
