Command Palette

Search for a command to run...

Hectal
Phase 3: Tables
HTML · Exercise 3 of 5 PreviousNext
Beginner

Merge cells in a timetable

In this timetable, Lab is one double lesson on Tuesday at 9:00 and 10:00, and Lunch covers all three days at 11:00.

Merge the two Lab cells into one cell with rowspan, and the three Lunch cells into one cell with colspan. Remove the cells that are now covered, so every row still fills exactly four columns.

What Check tests

  1. There is one Lab cell, two rows tall
  2. There is one Lunch cell, three columns wide
  3. Every row fills exactly four columns
  4. The other lessons are still there

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.