What you need before you start

Use a computer with a web browser, a plain text editor, and an AI tool that can write HTML. A chat tool can give you file contents to copy into your editor. A coding agent can write those files in a folder if you give it permission. Either route works for this guide. Create a fresh folder called park-cleanup and keep your other projects out of it. If you use an agent, give it access to that folder only and review each request to change a file or run a command. You don't need to install packages to open a plain HTML page.

Write down the information a visitor needs before you open the chat. For a cleanup, note when it starts and ends and where to meet. Find out what visitors need to bring and whether the organizer has confirmed a weather plan. A park name may be enough for your planning notes, but a first-time visitor needs to know which gate to use. If you don't know the answer, leave it out of the draft until you can ask the organizer. Use fictional details while you practice and mark the page as a sample if you share it.

You'll also need a place to upload the files if you want a public URL. Look for static hosting that takes a folder or archive of website files and serves them as they are. Check what it makes public before uploading anything. You can do the first three steps without choosing a host.

Step 1: describe the site

Write the brief around the visitor's question, not a style word like "modern." For this example, your reader is a neighbor checking their phone on the way out the door. Put the date and meeting point near the top, then give the visitor a link to the list of things to bring. A short page with those facts is useful even without a photo or a sign-up form.

Use this prompt with the fictional details as written, or replace them with your own verified event information.

Create a single public information page for a fictional Maple Park cleanup.
Label it as a sample event.
Use only these details: Saturday, May 15, 2027, 9 to 11 a.m., local time.
Meet at the east gate on Linden Street.
Bring work gloves and a water bottle.
Put the date, time, and meeting spot just below the main heading.
Add a link labeled "See what to bring" that goes to a heading on this page.
Use index.html for the content and styles.css for the appearance.
Use one main heading, a section heading for the supply list, and a real list.
Let the text wrap on narrow screens and keep a visible keyboard focus indicator.
Use no scripts, packages, forms, or external assets.
Do not invent extra details.
Show or list the files you wrote and tell me how to open the page locally.
Do not publish it.

The file names give you something to check when the tool replies. If the answer starts with instructions to initialize an app, stop and restate the two-file limit. If the draft looks too plain, finish the text and link checks before trying a different visual style. For a project you can follow with a fixed example and known results, use the full tutorial.

Step 2: review what the AI wrote

With a chat tool, save the contents of each code block to the named file, without the lines of backticks that surround it in chat. With a file-editing agent, open the files from your folder rather than assuming the summary describes them correctly. Make sure index.html and styles.css sit next to each other and neither name ends in .txt. Open index.html in your browser from your file manager. Keep the editor and the browser open so you can save a change and reload the page without losing your place.

Read the page as an event listing before reading the code. Compare the date and location with your notes, including the day of the week. Remove anything the tool supplied on its own, such as free parking, an organizer's phone number, or a promise that supplies will be provided. If you have a confirmed rain plan, use wording that tells a visitor what to do, such as where to look for a cancellation notice. Don't ask the model to fill in missing real-world facts.

Next, walk through the HTML in the editor and point to the part that supplies each piece of the page. The <title> is the text for the browser tab, and <h1> is the main heading visible on the page. Find the line with rel="stylesheet" in the head and check that its href names styles.css. If the tool gave you a preview but the local page looks unstyled, check that spelling and the folder location before asking it to rewrite the design.

In the stylesheet, find the rule that limits how wide the text can get on a large screen. If you find a fixed width in pixels instead of a maximum width, check whether it forces phone readers to scroll sideways. Ask for an explanation of that rule and change only the width if it's the cause.

Follow the same rule for each edit: ask the tool to touch the smallest part that needs work. If the start time is wrong, correct the text in index.html yourself or ask for that one change. A request to "fix the page" gives the tool room to change words and layout you already checked. Save a copy of the working folder next to the project before a larger revision so you can go back to it.

Step 3: check the HTML yourself

Find the link labeled "See what to bring" in the source. If it has href="#what-to-bring", the supply heading needs id="what-to-bring" with the same spelling. Click the link and look for that fragment at the end of the address. Check that the heading is the intended destination, even if the whole page fits on screen and there is nothing to scroll. Then reload from the top and reach the link with Tab. You should see where focus is before you press Enter.

Run through these checks before you upload the page:

  • Open the browser's page inspector by right-clicking the main heading and choosing Inspect. Check that the highlighted element is an h1 and that the supply heading is an h2, not a paragraph made bold.
  • Make the browser narrow or use its phone preview. Read from the main heading to the supply list and check that you never have to pan sideways to finish a line.
  • Zoom the page in and follow the link again. Check that you can still read the time and meeting point without text being clipped or covered.
  • Have someone start at the top and tell you where they'd go at nine and what they'd bring. If they have to read much of the page before finding the gate, move the location up and ask them to try again.

For a photo that shows which entrance to use, give the image an alt description that names the entrance and put any necessary directions in the page text too. If a picture only decorates the page, use alt="". The example needs no images, so leave them out unless one answers a question the words don't answer easily.

Step 4: ship it

Make a clean upload folder with index.html and styles.css at its top level. Leave your notes and backup copies outside it. Use the manual upload option on a static host, following its instructions for a folder or an archive. If it asks for a build command or an output folder because you chose an app template, go back and look for the option to upload finished files directly. This project already has the files the browser needs.

When the host gives you an address, open that HTTPS URL in a private browser window. A file: address from your local preview points to your computer, so sharing it won't give a neighbor the page. Check the live heading, the style, and the "See what to bring" link again. If the host shows a missing-page error, first check that index.html is at the top of what you uploaded rather than inside a second folder. If only the stylesheet fails, compare the file name on the host with the href, including capitalization.

Open the address on a phone before sending it out. Keep a local copy of exactly what you uploaded and a note of when it went up. If the time changes, edit your local copy, upload the revised files, and check the public URL again before you send the link around. After the event, mark the page as past or take it down so visitors don't plan around old information.

Traps and how to avoid them

A screenshot is your only review. A screenshot can't tell you if the supply link goes anywhere or if keyboard focus is visible. Test the actual file and repeat the important checks on the hosted version.

The design quietly turned into a service. A form that looks finished may have nowhere to send a signup, and you don't want visitors leaving details you aren't set up to receive. Skip the form for this page. If the organizer already has an approved signup page, link to that with a label that says where it goes and test the destination.

The upload includes more than the public page. An address, key, or private note in a file sent to a public host doesn't become private because the page doesn't link to it. Before uploading, check the contents of the folder and upload only the files the visitor needs.

You can't get back to yesterday's version. Keep the last checked copy until the replacement is working at the public address. If a change breaks the page, upload that known working copy, verify it, and work on the fix locally. For more guides on building and reviewing small sites, visit the Build with AI hub.