For the final project, build a one-page website for a small made-up business of your choice: a bakery, a bike repair shop, a tutor, a photographer.
What your page must include
- A complete HTML skeleton with
lang,charset,viewport, a uniquetitleand adescription. - A
headerwith the name and anavwhose links jump to sections of the page. - A
mainwith at least threesectionelements: about, services or products (as a list or a table) and contact. - At least one image with good
alt,widthandheight. - A contact form with labels, validation and a clear submit button.
- A
footerwith contact details. - A linked stylesheet with a few rules of your own: fonts, colours and spacing.
How to work
- Plan on paper: list the sections and what goes in each.
- Write the HTML first, with no styling.
- Validate with the W3C validator.
- Add CSS in a separate file.
- Test with the keyboard and at a narrow width.
- Check the checklist in HTML Best Practices.
Keep it small
Where to go next
You now know the core of HTML. The next steps are CSS, to control how pages look and lay out, and JavaScript, to make them interactive. Both build directly on everything you have learned here.