From 3b744a503b1df6e243786cf3ab9d0d0315a18534 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Thu, 14 Nov 2024 07:31:39 +0100 Subject: [PATCH 1/9] Update index.html --- .../intro-to-css/02-class-id-selectors/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/foundations/intro-to-css/02-class-id-selectors/index.html b/foundations/intro-to-css/02-class-id-selectors/index.html index 263042ae92a..3994584f351 100644 --- a/foundations/intro-to-css/02-class-id-selectors/index.html +++ b/foundations/intro-to-css/02-class-id-selectors/index.html @@ -8,10 +8,10 @@ -

Number 1 - I'm a class!

-
Number 2 - I'm one ID.
-

Number 3 - I'm a class, but cooler!

-
Number 4 - I'm another ID.
-

Number 5 - I'm a class!

+

Number 1 - I'm a class!

+
Number 2 - I'm one ID.
+

Number 3 - I'm a class, but cooler!

+
Number 4 - I'm another ID.
+

Number 5 - I'm a class!

- \ No newline at end of file + From 9bad7866c5db0f390b39beaf7646362a0f667387 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Thu, 14 Nov 2024 07:31:47 +0100 Subject: [PATCH 2/9] Update style.css --- .../02-class-id-selectors/style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/foundations/intro-to-css/02-class-id-selectors/style.css b/foundations/intro-to-css/02-class-id-selectors/style.css index e69de29bb2d..f3a8587317c 100644 --- a/foundations/intro-to-css/02-class-id-selectors/style.css +++ b/foundations/intro-to-css/02-class-id-selectors/style.css @@ -0,0 +1,17 @@ +.odd{ + background-color: light pink; + font-family: "Verdana", "DejaVu sans", sans serif; +} +#one{ + color: rgb(0, 0, 255) + font-size: 36px; +} +.odd.one{ + font-size: 24px; +} +#two{ + background-color: light green; + font-size: 24px; + font-wight: bold; +} + From 4cc3978da01a56d56f1c40923141b991db8c47c7 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Fri, 15 Nov 2024 07:59:47 +0100 Subject: [PATCH 3/9] update the --- .../intro-to-css/02-class-id-selectors/index.html | 2 +- .../intro-to-css/02-class-id-selectors/style.css | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/foundations/intro-to-css/02-class-id-selectors/index.html b/foundations/intro-to-css/02-class-id-selectors/index.html index 3994584f351..71d41fb5bfe 100644 --- a/foundations/intro-to-css/02-class-id-selectors/index.html +++ b/foundations/intro-to-css/02-class-id-selectors/index.html @@ -11,7 +11,7 @@

Number 1 - I'm a class!

Number 2 - I'm one ID.

Number 3 - I'm a class, but cooler!

-
Number 4 - I'm another ID.
+
Number 4 - I'm another ID.

Number 5 - I'm a class!

diff --git a/foundations/intro-to-css/02-class-id-selectors/style.css b/foundations/intro-to-css/02-class-id-selectors/style.css index f3a8587317c..3f3e653a395 100644 --- a/foundations/intro-to-css/02-class-id-selectors/style.css +++ b/foundations/intro-to-css/02-class-id-selectors/style.css @@ -1,17 +1,16 @@ .odd{ - background-color: light pink; + background-color: lightpink; font-family: "Verdana", "DejaVu sans", sans serif; } #one{ - color: rgb(0, 0, 255) + color: rgb(0, 0, 255); font-size: 36px; } .odd.one{ font-size: 24px; } -#two{ - background-color: light green; - font-size: 24px; - font-wight: bold; +.odd.two{ + background-color: lightgreen; + font-weight: bold; } From 1c7fb886896a52bd8a98391eaa1055adcd59a93b Mon Sep 17 00:00:00 2001 From: Amesdour Date: Fri, 15 Nov 2024 08:16:51 +0100 Subject: [PATCH 4/9] Updating Html instructions --- .../intro-to-css/03-grouping-selectors/index.html | 4 ++-- .../intro-to-css/03-grouping-selectors/style.css | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/foundations/intro-to-css/03-grouping-selectors/index.html b/foundations/intro-to-css/03-grouping-selectors/index.html index 796431e53ea..c0422be479d 100644 --- a/foundations/intro-to-css/03-grouping-selectors/index.html +++ b/foundations/intro-to-css/03-grouping-selectors/index.html @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/foundations/intro-to-css/03-grouping-selectors/style.css b/foundations/intro-to-css/03-grouping-selectors/style.css index e69de29bb2d..c4045620cfa 100644 --- a/foundations/intro-to-css/03-grouping-selectors/style.css +++ b/foundations/intro-to-css/03-grouping-selectors/style.css @@ -0,0 +1,11 @@ +.first{ + background-color: #000000; + color: #FFFFFF; +} +.second{ + background-color: yellow; +} +cls{ + font-size: 28px; + font-family: "Helvetica", "Times New Roman", "Sans-serif"; +} \ No newline at end of file From e043e00119baa7e9ce20b7617f2db0ef07b52776 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Fri, 15 Nov 2024 14:26:44 +0100 Subject: [PATCH 5/9] update the exercise --- .../intro-to-css/04-chaining-selectors/style.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/foundations/intro-to-css/04-chaining-selectors/style.css b/foundations/intro-to-css/04-chaining-selectors/style.css index d55c2c5c709..3f44c854991 100644 --- a/foundations/intro-to-css/04-chaining-selectors/style.css +++ b/foundations/intro-to-css/04-chaining-selectors/style.css @@ -1 +1,9 @@ -/* Add CSS Styling */ \ No newline at end of file +/* Add CSS Styling */ +.avatar.proportioned{ + width: 300px; + height: auto; +} +.avatar.distorted{ + width: 200px; + height: 400px; +} \ No newline at end of file From e16bdcb8ceecf97cedfdb13b8a71238de4c222d7 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Fri, 15 Nov 2024 14:41:26 +0100 Subject: [PATCH 6/9] Finishing the exercises --- foundations/intro-to-css/05-descendant-combinator/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/foundations/intro-to-css/05-descendant-combinator/style.css b/foundations/intro-to-css/05-descendant-combinator/style.css index e69de29bb2d..f448d164371 100644 --- a/foundations/intro-to-css/05-descendant-combinator/style.css +++ b/foundations/intro-to-css/05-descendant-combinator/style.css @@ -0,0 +1,6 @@ +div p{ + background-color: yellow; + color: red; + font-size: 20px; + text-align: center; +} \ No newline at end of file From 1dc8352792363aa8c1bb490e8bb057a4cfbd9201 Mon Sep 17 00:00:00 2001 From: Amesdour Date: Fri, 15 Nov 2024 14:44:07 +0100 Subject: [PATCH 7/9] Finishing exercises --- foundations/intro-to-css/05-descendant-combinator/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foundations/intro-to-css/05-descendant-combinator/index.html b/foundations/intro-to-css/05-descendant-combinator/index.html index 9da1ae50dda..163df1253c1 100644 --- a/foundations/intro-to-css/05-descendant-combinator/index.html +++ b/foundations/intro-to-css/05-descendant-combinator/index.html @@ -18,4 +18,5 @@

This should be styled.

- \ No newline at end of file + + \ No newline at end of file From d4d0005e145e461b07b12f407744bce9e6bb421a Mon Sep 17 00:00:00 2001 From: Amesdour Date: Sat, 16 Nov 2024 07:38:45 +0100 Subject: [PATCH 8/9] Solving the problem --- foundations/cascade/01-cascade-fix/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/foundations/cascade/01-cascade-fix/style.css b/foundations/cascade/01-cascade-fix/style.css index daf07e0e8a4..b8eca7563b5 100644 --- a/foundations/cascade/01-cascade-fix/style.css +++ b/foundations/cascade/01-cascade-fix/style.css @@ -8,7 +8,7 @@ body { font-weight: 800; } -.small-para { +p.small-para { font-size: 14px; font-weight: 800; } @@ -23,13 +23,13 @@ body { font-weight: bold; } -.button { +.button #cancel { background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-size: 20px; } -.child { +.text.child { color: rgb(0, 0, 0); font-weight: 800; font-size: 14px; From b4656315c11317b63104e41dc4565739eaba8b8c Mon Sep 17 00:00:00 2001 From: Amesdour Date: Sat, 16 Nov 2024 07:40:00 +0100 Subject: [PATCH 9/9] Solving the problem --- foundations/cascade/01-cascade-fix/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/foundations/cascade/01-cascade-fix/index.html b/foundations/cascade/01-cascade-fix/index.html index 0c5b2271748..24706e1dcd7 100644 --- a/foundations/cascade/01-cascade-fix/index.html +++ b/foundations/cascade/01-cascade-fix/index.html @@ -20,3 +20,4 @@ +