Skip to main content
CodeOath
← All tracks

Track · For working professionals

CSS and layout

Build the pages of one invented ferry operator's website, from selectors, stacking, flexbox and grid to forms, overlays, tabs, status feedback and cards, with every size and every interaction measured in a real browser.

Chapters

Chapters 2 to 9 need a plan.

  1. 01Selectors, pseudo-classes and custom propertiesLearn which elements a selector really matches, how focus rings and generated content behave, and why a custom property can hold a wrong value with no error.About 12 minFree
  2. 02Positioning, stacking contexts and unitsSee why a badge lands in the wrong corner, what a transform does to a fixed button, how stacking contexts trap z-index and when rem, em and vw surprise you.About 12 minLocked: needs a plan
  3. 03Flexbox, grid and choosing between themKnow which flexbox or grid setting decides each width: basis and shrink, the content minimum that overflows a row, and when grid is the better tool.About 12 minLocked: needs a plan
  4. 04Responsive design, container queries and accessibilityMake a layout answer to the window, the container and the reader: the viewport tag, media and container queries, contrast, target size and keyboard use.About 12 minLocked: needs a plan
  5. 05Forms that report back: counters, meters, uploads, switches and ratingsBuild forms that behave: a live character counter, a strength meter, a file drop zone, a switch and a star rating, each tried with real keys and clicks.About 12 minLocked: needs a plan
  6. 06Layers above the page: dialogs, menus, tooltips and toastsBuild dialogs, menus, tooltips and toasts with the browser's own tools and learn what each does to focus, the Escape key and stacking order.About 12 minLocked: needs a plan
  7. 07Showing and hiding in place: accordions, tabs, segmented controls and carouselsBuild an accordion, tabs, a segmented control and a carousel from plain elements and learn what keeps each one usable from the keyboard.About 12 minLocked: needs a plan
  8. 08Showing status: progress bars, spinners, skeletons, countdowns and badgesShow that something is happening: a progress bar, a busy button that keeps focus, a skeleton that does not shift the page, a true countdown and a badge.About 12 minLocked: needs a plan
  9. 09Cards and data: pricing cards, profiles, avatar groups and metric tilesLay out pricing cards, a profile card, an avatar group and metric tiles so buttons line up, long names truncate safely and numbers follow the reader's format.About 12 minLocked: needs a plan