Pricing Comparison Table

Build a single-page pricing comparison using a real, accessible HTML table.

Start building, submit solution and get feedback from the community.
2Submit Solution
5 upvotes10 upvotes

The goal of this project is to teach you how to display structured data in HTML using a real, accessible table. You will build a small pricing comparison page with proper headers, a caption, and row scopes. Do not style the page; styling will be addressed in a later project. Focus here on the table structure and the surrounding semantic markup.

In this project, you are required to build a single HTML page that compares three subscription plans side by side using an HTML table.

Key requirements:

  • A semantic page: Use <header>, <main>, and <footer> to structure the page itself.

  • A real <table> with <thead> and <tbody> separating header rows from data rows.

  • A <caption> as the first child of the table that names what is being compared.

  • Header scopes: Use scope="col" on column headers, and scope="row" on the plan-name cells so screen readers can announce data in context.

  • At least one merged cell: Add colspan or rowspan somewhere meaningful — a section heading above several columns, or a highlight row that spans the table.

  • Head metadata: Set <title>, <meta charset>, and <meta viewport>.

Submission Checklist:

  • A single HTML file with a semantic page structure (header, main, footer).

  • A <table> with a <caption>, <thead>, and <tbody>.

  • scope="col" on column headers and scope="row" on row headers.

  • At least one cell using colspan or rowspan for a real reason.

  • Page metadata set correctly in the head.

By completing this project, you will have a working mental model of when to reach for a table and when not to, and how to mark up a table that is accessible from the moment it ships. You can return to it later to add styles or sticky headers with CSS without changing the structure.

Join the Community

roadmap.sh is the 6th most starred project on GitHub and is visited by hundreds of thousands of developers every month.

Rank  out of 28M!

355K

GitHub Stars

Star us on GitHub
Help us reach #1

+90kevery month

+2.8M

Registered Users

Register yourself
Commit to your growth

+2kevery month

48K

Discord Members

Join on Discord
Join the community

RoadmapsGuidesFAQsYouTube

roadmap.shby@nilbuild

Community created roadmaps, best practices, projects, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh·Terms·Privacy·

ThewNewStack

The top DevOps resource for Kubernetes, cloud-native computing, and large-scale development and deployment.