Command Palette

Search for a command to run...

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

Give the order table its structure

This snack order is a flat table with a heading above it. Give it proper structure:

Replace the heading with a <caption> that says Snack order, put the header row in a <thead>, the three item rows in a <tbody>, and the Total row in a <tfoot>.

What Check tests

  1. The table has the caption Snack order
  2. The header row is in a thead
  3. The three items are in a tbody
  4. The Total row is in a tfoot
  5. There is no separate heading left above the table

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.