Web Development Pro | Lesson 010 | HTML Project: A Community Workshop Site
Web Development Pro · Lesson 10 of 60
Module 1: HTML foundations
In this lesson
Prerequisites and learning outcomes
Complete lesson 9 first. This lesson builds on semantic content integration. By the end, you can deliver a three-page HTML prototype with schedule, directions, and a safe demo form. Plan 10–15 minutes for the core explanation and additional time for the worked practice.
Build a useful HTML-only prototype
Your first project combines the earlier lessons into a small community workshop site. The visitor should understand the event, inspect the schedule, and explore a clearly labeled practice preference form. The site must remain useful before CSS or JavaScript is introduced. This is a content and structure project, so a plain default appearance is acceptable while broken navigation or misleading submission wording is not.
Create a fresh copy of your practice folder before editing. The provided reference project has index.html, schedule.html, and practice.html, plus local image assets and a preview page. Treat it as a working comparison rather than a file to copy without understanding. Complete your version, then explain why each major element fits its content.
Translate the brief into acceptance criteria
The home page needs a specific title, one clear h1, an introduction, an informative image, and links to the schedule and practice form. The schedule needs a captioned table with column and row headers. The practice form needs labels, a grouped experience choice, explicit required instructions, and a submission destination that says no booking occurred.
The three main site pages should have consistent navigation, the correct current-page marker, a main region, and a useful skip link. The separate preview page needs a clear demo title and a return link to the practice form. All local links and images must resolve from their actual locations. A direct visit to any page should still reveal what site it belongs to. These are observable criteria: another learner can inspect or test them without guessing what “professional” means.
Build content before adding decoration
Write the event's fictional details in plain language first: what people will learn, when the sessions happen, and what to bring. Then assign headings and semantic groups. If the information is confusing as plain text, decorative styling will not solve that underlying problem. Avoid promising real availability or a confirmed reservation in a demonstration.
<header>
<p>River Community Workshops</p>
<nav aria-label="Main">
<a href="index.html">Home</a>
<a href="schedule.html">Schedule</a>
<a href="practice.html" aria-current="page">Practice form</a>
</nav>
</header>
<main id="main-content" tabindex="-1">
<h1>Practice a workshop preference</h1>
<p>This is a learning demo. No registration will be sent.</p>
<form action="preview.html" method="get">
<label for="session">Session (required)</label>
<select id="session" name="session" required>
<option value="">Choose a session</option>
<option value="bicycle">Bicycle basics</option>
<option value="mending">Mending clothes</option>
</select>
<button type="submit">Open demo preview</button>
</form>
</main>
This excerpt shows the form page's navigation and main content. The reference project supplies the complete document, grouped choices, footer, and preview destination. Do not leave out the head because it was omitted from a focused excerpt. Each saved HTML page must still have a doctype, language, encoding, viewport declaration, and descriptive title.
Check the site's relationships
Open the home page and follow the visitor's route to the schedule, then the practice form, then back home. Check the current-page indication at every stop. Now begin from schedule.html directly and repeat the route. This catches assumptions that only work when the visitor starts where you expected.
Inspect the table by asking a specific question: which room hosts Mending clothes? Its row should lead to the Garden room under the Room header. Inspect the form by asking what data a selected option would submit. A label that reads “Bicycle basics” may submit the stable value bicycle. The receiving page's wording must still identify the experience as a demo.
Do a second pass using keyboard navigation. Native links and controls should be reachable, labels should be useful, and focus should remain visible. Do not add positive tabindex values to make the test appear to work. Correct the document order instead. A simple, predictable path is more robust than a hand-numbered sequence.
Review evidence and limitations
The automated project checks parse the HTML, verify basic landmarks and titles, inspect ids, and confirm local file and fragment targets. Additional assertions inspect labels and table header scopes. These are real structural checks, but they do not execute native validation, render layouts, or establish screen-reader usability.
Maintain a small test record with the check, expected result, observed result, and status. “Not run” is a legitimate status when the environment cannot perform a check. It is different from “passed.” For this course package, browser launch is restricted, so the supplied automated evidence must be supplemented with your own browser interaction review before you claim the project is ready for an audience.
Decide what belongs in the next stage
CSS will improve spacing, type, layout, and interaction states. JavaScript will later support filtering and local feedback. Neither should change the truth of the content or erase useful HTML semantics. Keep the current project as a milestone so you can compare later enhancements against a known content foundation.
Write a short handoff explaining the folder entry point, fictional-data status, and remaining manual checks. A teammate should be able to open the project without a build command or an account. This is the first version of a habit you will use again in the final capstone: make your work reproducible and describe its limits accurately.
Worked practice
Worked exercise 1: Resolve a failed route
Task: The home page links to schedules.html, but the actual file is schedule.html. Worked answer: correct the href and search the other pages for the same typo. Then test the route from the home page and a direct schedule visit. Renaming randomly can create a second broken reference elsewhere.
Worked exercise 2: Fix an overstated confirmation
Task: The preview page says “Your seat is reserved.” Worked answer: replace it with “Practice preview only. No booking or message was sent.” A static page cannot truthfully claim a reservation merely because navigation succeeded. Keep the button wording aligned with that limited outcome.
Worked exercise 3: Write a scoped result
Task: Static checks pass, but keyboard testing has not happened. Worked answer: record “HTML structure and local targets passed; keyboard, native validation, and screen-reader checks not run.” Do not convert untested work into a blanket pass. Assign those checks before any real release.
Knowledge check
Question 1
What is this project's primary goal? A) A styled layout before content exists. B) Semantic content and working navigation. C) A client-only reservation guarantee. D) An automated accessibility certification.
Check question 1: answer and explanation
Answer: B. It integrates HTML foundations without requiring services beyond the local files.
Question 2
Why visit schedule.html directly? A) To test its independent identity and navigation. B) To ensure it inherits the home page title. C) To force the browser to use the home page body. D) To avoid checking relative paths.
Check question 2: answer and explanation
Answer: A. Visitors may enter through a direct link rather than the home page.
Question 3
Which preview claim is accurate? A) “Your preference was sent to the organizers.” B) “Your seats are held until confirmed.” C) “Practice only; no booking sent.” D) “Your values passed server validation.”
Check question 3: answer and explanation
Answer: C. It matches the actual behavior of the static demonstration.
Question 4
What should remain after future styling? A) Only the visual order, regardless of source order. B) The useful semantic structure. C) Navigation labels replaced by unexplained icons. D) The same fixed pixel dimensions at every width.
Check question 4: answer and explanation
Answer: B. Enhancement should preserve the content's meaning and usable foundation.
Question 5
What is the proper status for a browser check that could not run? A) Passed. B) Failed content. C) Not applicable automatically. D) Not run, with the reason.
Check question 5: answer and explanation
Answer: D. Evidence should distinguish an execution limitation from success or an observed defect.