/fewd-css-exercise-1

Intro to CSS homework.

Primary LanguageHTML

CSS Exercise 1

  • Make a copy of css-history.html and name it firstname-lastname.html (e.g tom-kraak.html.)
  • View the document locally in your favorite browser.

Style

  • Create a stylesheet document and name it firstname-lastname.css. Make sure you are in your repo.
  • Wire up your CSS file as an external stylesheet for the HTML document you created above.
  • Use a tag selector to color the headline red.
  • Use an ID selector to color the very first list item green.
  • Use a class selector to set all dates/years to bold and italic.
  • Use a child selector to underline the first <blockquote>.
  • Use a descendant selector to give all <blockquotes> a gray background color.
  • BONUS: Set the entire document in a sans-serif font and sensible line-height of your choosing.

Commit & PR