Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1021 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 1021 Bytes

HTML table striping

Here you can practise techniques for applying more colorful striping to your tables!

Task

Working in the files index.html and style.css, create a website which meets the following requirements.

Requirements

  • Using the example image below as a reference, create an HTML data table shown using the :first-child, :last-child, :nth-child and :not pseudo classes
  • Use the data below to fill in your table
  • Apply background colors to the <td> elements
  • Use the colors: #c0c0c0, #888888, #efefef, #ffbbbb
  • Do NOT use deprecated HTML attributes. Style using CSS.

Table Data

First Name Last Name Role
Scott Gomez Player
Paul Mackie Coach
Leoni Cabrera Assistant
Gregor Byrne Player
Francis Shaffer Manager
Walter Gale Player

Reference Image

Reference