HTML & CSS: build real web pages

From your first tag to flexbox, grid, responsive layouts and CSS variables. No experience needed, just a browser.

Beginner to expert · 14 lessons · about 115 minutes

Start the track
  1. Your first web page BeginnerWrite your first line of HTML and watch it appear on a page.5 min
  2. Headings and paragraphs BeginnerGive your page structure with headings, and write text in paragraphs.6 min
  3. Lists BeginnerShow items as bullet points or numbered steps, and learn how tags go inside other tags.6 min
  4. Links BeginnerConnect your page to the rest of the web, and meet your first attribute.6 min
  5. Images BeginnerPut a picture on your page, and describe it for people who cannot see it.6 min
  6. Style it with CSS BeginnerChange colours and sizes with your first CSS rules, in a separate stylesheet.8 min
  7. Classes and ids BeginnerStyle chosen elements, not every element of a kind, with class and id selectors.8 min
  8. The box model IntermediateEvery element is a box. Control its padding, border and margin.9 min
  9. Page structure with semantic HTML IntermediateLay out a page with header, nav, main, article and footer, so browsers and screen readers understand it.9 min
  10. Forms IntermediateCollect input with accessible forms, labels, the right input types, and built-in validation.10 min
  11. Flexbox IntermediateLine elements up in a row or column, spread them out and centre them.10 min
  12. CSS Grid AdvancedBuild two-dimensional layouts of rows and columns with a few lines of CSS.10 min
  13. Responsive design AdvancedMake one page work on phones and desktops with the viewport tag and media queries.10 min
  14. CSS variables and transitions ExpertKeep your colours in one place with custom properties, and add smooth hover effects.12 min
Track project · Reviewed by a mentor · PremiumProject: A landing page for a local businessDesign and build a complete, responsive landing page for a small business, with a header, sections, a price list and an accessible booking form.