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
- Open Monday’s file and change a lesson name inside a
<td>cell. - Inspect the homepage table. Find
colspanon a cell that spans columns androwspanon one that spans rows. - 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.