Practice every selector type from CSS Selectors on the portfolio page from the reading. You edit the stylesheet; the page is already loaded.

The type selectors are done for you. Add one rule for each of these, pressing Run after each so you can see exactly what it changes:

  1. Class: give every .card a border, padding and margin.
  2. Class: give the .featured card a light background color.
  3. ID: add letter spacing to #site-title.
  4. Attribute: underline only links that open in a new tab, a[target="_blank"].
  5. Pseudo-class: change the color of .nav-link on :hover, and outline the email box on :focus.
  6. Combinator: space out the links inside the navigation with nav a.

Specificity challenge: add p { color: green; } and .lede { color: purple; }. Which color does the "quick overview" paragraph get, and why? Swap the order of the two rules and run it again.

You do not have permission to attempt this activity.