Click in order · HTML and CSS course · Module 3: CSS Basics

Order of :nth-child Pseudo-classes

Arrange the :nth-child selectors from selecting the earliest to the latest elements:

Items to click

  • :nth-child(3)
  • :last-child
  • :nth-child(2)
  • :first-child

You can check the correct answer by solving this task in the CodeWorlds game.