Nth Cart

CSSSelectors
Pro

You're stationed deep in the mines, where you must collect frontendium minerals using the :nth-child() pseudo-class. The work starts easy enough, but gets progressively harder as you must select only the mine carts holding the valuable cargo. Reach the end and the riches are yours!

Learning Objectives

Learn about the CSS pseudo-class selectors :nth-child() and :nth-last-child(). Match patterns using integers, more complex formulas, and combinations of selectors, useful for styling HTML components such as list items and table rows.

Prerequisites

Familiarity with the basics of HTML and CSS is helpful for context.

New

More Games

Get the latest updates

Enter your email to hear about new games and exclusive offers.

You can unsubscribe at any time.