From 473fcee568c95e820680d72b9f7a52c7a35ae7c4 Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Sun, 30 Jun 2024 18:47:32 -0400 Subject: [PATCH] Completed 02-class-id-selectors, added COMPLETE.md file --- foundations/02-class-id-selectors/COMPLETE.md | 1 + foundations/02-class-id-selectors/index.html | 10 +++++----- foundations/02-class-id-selectors/style.css | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 foundations/02-class-id-selectors/COMPLETE.md diff --git a/foundations/02-class-id-selectors/COMPLETE.md b/foundations/02-class-id-selectors/COMPLETE.md new file mode 100644 index 0000000..dba4010 --- /dev/null +++ b/foundations/02-class-id-selectors/COMPLETE.md @@ -0,0 +1 @@ +# Complete diff --git a/foundations/02-class-id-selectors/index.html b/foundations/02-class-id-selectors/index.html index 263042a..c253a99 100644 --- a/foundations/02-class-id-selectors/index.html +++ b/foundations/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 diff --git a/foundations/02-class-id-selectors/style.css b/foundations/02-class-id-selectors/style.css index e69de29..58479f9 100644 --- a/foundations/02-class-id-selectors/style.css +++ b/foundations/02-class-id-selectors/style.css @@ -0,0 +1,19 @@ +.odds, .specialodds { + background-color: lightcoral; + font-family: Verdana, Dejavu Sans, sans-serif; +} + +#number2 { + color:blue; + font-size: 36px; +} + +.specialodds{ + font-size: 24px; +} + +#greeny { + background-color: rgb(149, 255, 149); + font-size: 24px; + font-weight: bold; +} \ No newline at end of file