Khan Academy Wiki
Challenge: Descendants of Khan
Des-of-khan
Description
Challenge Name: Challenge: Descendants of Khan
Section(s) HTML/CSS: Making webpages
Steps: 2

Challenge: Descendants of Khan is a programming challenge in the HTML/CSS: Making webpages course. This challenge practices using descendant selectors in CSS.

Steps[]

There are two steps in this challenge:

  1. Add a rule for emperor classes in the table: This step asks users to use descendant selectors to add a rule that targets only the elements that have the emperor class and are in the table.
  2. Add a rule for reign classes in the table: This step asks users to use descendant selectors to add a rule that targets only the elements that have the reign class and are in the table.
Des-of-khan

The end result of Challenge: Descendants of Khan

If users get stuck[]

If users get stuck, they should:

  • Pay attention to Oh Noes and the error messages.
  • Go back and review the "More CSS selectors" tutorial.

Up next[]

Challenge: Grouped animals