From ceb3f5f0d4f3fc18d94eb82fe22e3f06ab7683b0 Mon Sep 17 00:00:00 2001 From: Nihar Patel Date: Fri, 2 May 2025 07:38:03 -0400 Subject: [PATCH] Complete phase-0-css-intro-lab --- index.html | 4 +++- style.css | 12 ++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 30ad56b96..e99c5dd8d 100644 --- a/index.html +++ b/index.html @@ -3,9 +3,11 @@ Introduction to CSS Lab - + + +
diff --git a/style.css b/style.css index a6f387622..d2fe3c961 100644 --- a/style.css +++ b/style.css @@ -1,20 +1,24 @@ /* Tag selector to select the 'body' element */ body { - /* Your code here! */ + background-color: #00b3e6; } /* Tag selector to select all 'div' elements. We only have one 'div' in our HTML */ div { - /* Your code here! */ + width: 700px; + margin: auto; + font-family: Helvetica Neue; + background: white; + padding: 30px; } /* ID selector to select the element with id 'main-header' */ #main-header { - /* Your code here! */ + font-size: 22px; color: red; } /* Class selector to select elements containing the class 'perspective-questions' */ .perspective-questions { - /* Your code here! */ + font-style: italic; }