← Your site, for real

Your site, for real: recap

For after the lessons: one card per lesson, to check what you remember. Answer each question in your head or on paper first, then check it. Nothing here is marked.

Ready for real people

1. Pages for everyone

Try firstName two changes that make a page work for a screen reader without changing how it looks.

Check your answer

For example: alt text on pictures, labels joined to boxes, headings in order, link text that says where it goes.

  1. The page looks fine, but a screen reader finds a picture with no words.
  2. alt describes the picture for anyone who can't see it.
  3. The box has no name: a label, joined by for and id, gives it one.
  4. It looks almost the same, and now everyone can use it.
The page this code makes
What this code makes
A page works for everyone when its tags say what each part is · Sound on for the voiceover
Open the lesson →

2. Put it online

Try firstWhy does src="C:/Users/ada/Desktop/trophy.svg" break online, and what should it be?

Check your answer

It points at a folder on Ada's computer, which the web can't reach; put trophy.svg beside the page and write src="trophy.svg".

  1. This page uses three pictures from beside it.
  2. Download saves the page as index.html, the name a website's first page has.
  3. It lists every file the page uses: each goes in the same folder.
  4. Open index.html from that folder. If it works there, it works online.
The page this code makes
What this code makes
A website is a folder: the page, and every file it uses, side by side · Sound on for the voiceover
Open the lesson →