diff --git a/README.md b/README.md index 9a2dadc8..e2d23151 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +page link: https://afyaakt.github.io/phase-0-html-tables-lab/ # HTML Tables ## Learning Goals diff --git a/index.html b/index.html index 9027f1a7..a32e4270 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,46 @@ + + + + HTML Tables - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CityState2017 estimate
New York New York8,622,698
Los Angeles California3,999,759
Chicago Illinois2,716,450
Houston Texas2,312,717
+ diff --git a/style.css b/style.css new file mode 100644 index 00000000..d6c4597e --- /dev/null +++ b/style.css @@ -0,0 +1,34 @@ +*{ + font-size: 1.4rem; + font-family: 'Roboto', sans-serif; +} +table{ + display: flex; + justify-content: center; + align-items: center; + border-collapse: collapse; +} +th , td{ + border: 1px solid rgb(141, 136, 136); + margin: 0px; + padding: 30px; +} +th{ + background-color: rgb(233, 229, 229); +} +.city{ + background-color: rgb(167, 221, 247); + color: rgb(16, 19, 175); + font-style: italic; +} +.estimate{ + text-align: end; +} +.state{ + color: rgb(16, 19, 175); +} +img{ + width: 45px; + height: 23px; + margin-right: 5px; +} \ No newline at end of file