Skip to content

Ahmad-al-sayedd/table-zebra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Second_Table_Ex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 76.1%
  • CSS 23.9%