Catalog108 / challenges / static/tables/dynamic-headers
Tables with dynamic header order
What this challenge teaches
Teaches: Map values to columns by header name, not by position, order varies per table.
Expected output: A normalised list with columns always in [sku, name, price, stock] order.
Submit your scraper's JSON output to /challenges/static/tables/dynamic-headers/grade
(grader endpoint is part of a later phase; URL is reserved now).
Three tables below. Same data, three different column orders. Don't rely on column index, read the headers.
| SKU | Name | Price | Stock |
|---|---|---|---|
| C108-00001 | White Wooden Vase | $41.40 | 45 |
| C108-00002 | Indigo Bamboo Bowl | $15.54 | 7 |
| Name | Price | SKU | Stock |
|---|---|---|---|
| Indigo Bamboo Bowl | $15.54 | C108-00002 | 7 |
| Forest Cotton Stand | $105.11 | C108-00003 | 9 |
| Stock | SKU | Price | Name |
|---|---|---|---|
| 9 | C108-00003 | $105.11 | Forest Cotton Stand |
| 63 | C108-00004 | $71.67 | Coral Ceramic Cushion |