Build a class timetable

Group table cells and link to weekday pages using relative paths.

What you’ll learn

Connect a homepage to weekday pages and back, using a table with merged cells.

Before you start

Open the timetable example. Find the start page and the weekday folder in Pro Mode.

Steps

  1. Open Monday’s file and change a lesson name inside a <td> cell.
  2. Inspect the homepage table. Find colspan on a cell that spans columns and rowspan on one that spans rows.
  3. Press Run, follow the Monday link, then select the return link. Open another weekday to compare the navigation.

Expected result

The homepage shows the class photo and the timetable. Monday shows your edited lesson and links back.

Common mistakes

From a weekday file, ../index.html goes up one folder. A link to index.html by itself looks inside the weekday folder.