Skip to content
Justice Tech School

Project: A Price Table

Build a price comparison with a table, header cells and a call to action. Use scope on headers so screen readers read cells correctly.

Example
<table border="1" style="border-collapse:collapse;text-align:center">
  <tr><th scope="col">Plan</th><th scope="col">Price</th></tr>
  <tr><th scope="row">Free</th><td>$0</td></tr>
  <tr><th scope="row">Pro</th><td>$9</td></tr>
</table>

Exercise

Header for a row.

<th ="row">

Quiz Test

What does scope do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.