From c77045544515c60e1a41f49d006ed16b8cc2d2bd Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 9 Feb 2024 18:28:37 +0300 Subject: [PATCH 1/2] Completed assignment --- index.html | 39 ++++++++++++++++++++++++++++++++++++++- style.css | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 style.css 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 From 45ffb61ef95772a39a6d0f8d354dbb14876561f8 Mon Sep 17 00:00:00 2001 From: AfyaaKT <116974501+AfyaaKT@users.noreply.github.com> Date: Fri, 9 Feb 2024 18:34:07 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) 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