Build Your First Webpage With AI—and Test It

Build a small fictional book-club webpage, save it on your computer, then change and check it. A desktop browser and a plain-text editor are all you need, with an AI assistant you already have access to. 7 minutes 39 seconds to watch, plus practice time. No paid hosting, forms, customer information or coding background is required.

Beginner7:39 videoVideo availablePublished Nov 22, 2026No sign-up

Download practice files (ZIP)

One folder with everything for this lesson: START-HERE.txt, starter and completed HTML, prompt.txt and practice.md.

Download ZIP

Watch the lesson

Follow along, one step at a time

Published November 22, 2026. Pause whenever you need to try something yourself. Watch here with permission for the YouTube embed, or open it on YouTube.

To watch here, allow marketing cookies for the YouTube embed. You can also watch directly on YouTube using the link below.

Video · 7:39

Watch on YouTube

Build it step by step

Five steps to a webpage you can check

Use an AI assistant you already have access to, and a plain-text editor. Use only fictional information.

  1. 1

    Ask for the page

    Read the prompt below, send it to your AI assistant, wait for the response, and review it. Assistant output varies. Use fictional information only.

    Create a complete beginner practice webpage in ONE index.html file, with inline CSS and no JavaScript, external libraries, images, tracking, forms or network requests. It is a fictional River Book Club, not a real business. Include a visible Practice project - fictional club label, one h1 River Book Club, a short welcoming sentence, a link styled as a button reading See the reading plan that points to a section with id="reading-plan", and that section headed Our reading plan with three simple list items. Use a clean navy, cream and teal design, large readable text, a viewport meta tag, flexible widths, and a visible keyboard focus style. Put the h1 on its own HTML line so a learner can edit it. Add short comments identifying the heading and the link destination. Output only the full HTML in one code block. This will be used in an educational tutorial.

    All text shown above
  2. 2

    Save and open

    Copy only the HTML code into a plain-text editor. Save it as index.html. In Windows Notepad select All files and UTF-8 if offered. Ensure the full filename is not index.html.txt.

    Double-click the saved HTML file in File Explorer to open it in a browser. This stays on your computer and does not publish a website. HTML describes structure/content; CSS describes appearance.

  3. 3

    Predict and edit

    Find <h1>River Book Club</h1>, change only its text to Weekend Book Club, keep both tags, save and reload. The page heading changes.

    The browser-tab title comes from a separate <title> element. Explain this distinction before asking AI for another change.

  4. 4

    Check the link

    Click See the reading plan, confirm #reading-plan and Our reading plan.

    <a class="button" href="#reading-plan">See the reading plan</a>

    <section id="reading-plan">

    The href fragment and destination id must match exactly.

  5. 5

    Test your own version

    Reload, Tab to the link, check its focus outline, then press Enter. Narrow the browser window and try 200% zoom.

    Check wrapping, clipped text and sideways scrolling. Record actual results; source alone cannot prove behavior. These are starter checks, not a complete accessibility audit.

Your turn

Practise with one more change

Make a small edit yourself, then check the link still works.

Change the h1 to Morning Book Club while preserving the link. Optional: also edit the <title> and explain which text each change affects.

Checklist

Check your own webpage

Work through each item. Your checks stay on this page; they are not sent or saved.

Starter checks

First webpage checklist

0/7 checked · stays on this page

These are starter checks, not a complete accessibility audit.

A source issue discussed in the video

One contrast fix, not a whole-page pass

The preserved original had dark teal practice-label text over navy. The repaired example changes only that label’s text to cream. Different AI output needs its own checks. These checks don’t cover the whole page.

About the video

How this lesson was made

It assembles genuine ChatGPT and Notepad captures with edited timing and owner-supplied browser screenshots; not a continuous recording. The fresh AI response is separate from the supplied original used for the edit and repair. Browser checks without footage are follow-along instructions. Narration uses authorized ElevenLabs synthetic voice.

Free forever

Back to training

This lesson is a draft and is not linked in the site navigation yet. Return to the Training library to see published lessons.

Metro Code StudioLearn Tech. Step by Step.

Free practical AI and technology lessons for beginners. Learn by doing and check the output.

Free forever · No paywalls · No sign-up

Subject library

AI & Data

AI · Everyday AI · SQL · APIs

Coding & Building

Kids Coding · Python · Web Development · Git & GitHub

Quality & Security

Software Testing · Accessibility · JMeter · DevSecOps

The method

  • 01Watch
  • 02Follow
  • 03Try
  • 04Understand
  • 05Build

© 2026 Metro Code Studio

Learn Tech. Step by Step.