Tutorials / Building things / Build a multi-page website
๐Ÿ“ Written โ— Intermediate

Build a multi-page website

Create full websites with multiple pages, internal navigation, shared styling, and downloadable as a .zip.

What you'll learn

Single file vs. multi-page

LingCode can generate both:

Use multi-page for: full websites, product sites, documentation, portfolios, and anything with more than 3-4 pages.

Step 1: Write a multi-page prompt

1

Describe your entire site

Use a prompt like:

Build a multi-page website for an agency. Pages: 1) index.html (home with hero + services); 2) about.html (team + company story); 3) portfolio.html (case studies grid); 4) contact.html (contact form). All pages share: header nav with internal links, footer, consistent branding. Use a shared CSS file for styling. Make it responsive.

Key phrases that trigger multi-page mode:

  • "multiple pages"
  • "pages:" or "create pages for:"
  • "index.html, about.html, etc."
  • "shared CSS" or "shared header"
Naming convention: Ask for specific filenames (index.html, about.html, contact.html). The AI will respect these names and create files accordingly.

Step 2: Generate and preview

2

Click "Send"

Select your provider (Claude recommended for multi-page complexity) and click "Send". The AI will generate all pages.

You'll see a page selector appear in the preview pane (or Code tab) allowing you to view each page. Click on page names to switch between them and verify all links work.

Understanding the structure

A multi-page website includes:

All paths are relative, so you can unzip and open any .html file directly in your browser.

Step 3: Test navigation

3

Verify internal links

In the preview, click navigation links to verify they work. All links should use relative paths (e.g., href="about.html") so they work both locally and when deployed.

Step 4: Refine with iterations

4

Use "Continue" to improve

Request changes to specific pages:

  • "Make the contact form submit to an email"
  • "Add a blog page (blog.html) with 3 sample posts"
  • "Update the portfolio page to show 6 case studies instead of 4"
  • "Add a dark mode toggle that persists across all pages"

Step 5: Download as .zip

5

Export your entire site

Click the three-dots menu and select "Download .zip". You'll get a folder containing:

  • All .html files
  • style.css
  • Any images or assets

Unzip the folder locally, open index.html in your browser, and you're done. All links and styles work instantly.

Deploying your site

Once you have the .zip:

  1. Local testing: Unzip and open index.html in your browser to test locally
  2. Netlify/Vercel: Connect your GitHub repo (or drag-and-drop the folder) to deploy
  3. Static host: Upload files to any web host (GoDaddy, Bluehost, etc.)
  4. Shared drive: Email the .zip or host on Google Drive / Dropbox

Tips for multi-page sites

Common multi-page structures

Company website: index (home), about, services, portfolio, blog, contact

E-commerce: index, products, product-detail, cart, checkout, account

Documentation: index, getting-started, guides, API reference, FAQ

Portfolio: index, work, about, contact