topskill.dev
CoursesTracks
0
All courses/CSSTool checkout table
Project - Responsive Table
2 / 3
← CSS
○CSS Rule Style an Exhibit Card○Write Your First CSS Rule○CSS Selectors Target Exhibit Details○Target Exhibit Details○Apply CSS Three Sources○Apply CSS Three Ways○Specificity Resolve a Style Conflict○Resolve Specificity○Inheritance and the cascade✦Module Quiz
○Color Palette○Color Palette○Background Layer○Background Layer○Type Rhythm○Type Rhythm○Borders and Shadows○Borders and Shadows✦Module Quiz
○Box Model Seed Packet Card○Space a Seed Packet○Display Swap Table Labels○Arrange Swap Table Labels○Positioning Pickup Pin○Pin the Pickup Location○Sizing and Overflow○Size a Seed-Swap Notice○Sticky scroll headings✦Module Quiz
○Advanced Selectors Book Cart Sign○Target a Book Cart Sign○Pseudo-Classes Night Cart States○Style Night Cart States○Pseudo-Elements○Add a Book-Quote Mark✦Module Quiz
○Lantern Market navigation○Lantern Market navigation✦Module Quiz
○Community garden request card○Community garden request card✦Module Quiz
○Flex Direction○Flex Direction○Main-Axis Spacing○Main-Axis Spacing○Cross-Axis Alignment○Cross-Axis Alignment○Wrapping and Flex Items○Wrapping and Flex Items○Flexbox Navigation○Flexbox Navigation✦Module Quiz
○Grid Tracks○Grid Tracks○Grid Gaps○Grid Gaps○Grid Placement○Grid Placement○Responsive Grid○Responsive Grid✦Module Quiz
○River radio schedule○Harbor radio schedule✦Module Quiz
○Field note color system○Field note color system○Transforms○Rotate a Field Note○Resilient styles✦Module Quiz
○Kite festival signal○Garden festival signal✦Module Quiz
○Garden forecast○Harbor forecast○Fluid sizing○Fluid weather bulletin○Images that fit✦Module Quiz
○Seed inventory table●Tool checkout table✦Module Quiz
○Community maker profile○Maker profile sheet✦Module Quiz

Tool checkout table

The supplied checkout table already has headings, data, and cell styles. Like the seed inventory demo, it needs a minimum width for readable columns and a wrapper that handles the extra width on a phone. Edit only style.css.

Your Task

  1. Set .table-wrap to overflow-x: auto so its contents can scroll horizontally when needed.
  2. Set table to min-width: 32rem so its columns keep enough room for the checkout information.

The supplied wrapper already has a keyboard tab stop, a region name, and a focus outline. Run Preview at about 360px wide, press Tab to focus that region, then use Right Arrow to reach the Desk column. The table may scroll; the whole page should not.

Widen the preview to see the whole table without scrolling, then Submit. The data stays in a real table instead of losing columns. The final project applies responsive sizing to a profile sheet.

Take the Quiz →
Files
  • ⋄index.html
  • ⋄style.css
Loading editor…