From 358e38ca31fa33ffaeb9e7a1ee3a27e23f9113b5 Mon Sep 17 00:00:00 2001 From: Suvansarkar Date: Wed, 2 Aug 2023 17:55:57 +0530 Subject: [PATCH] Solution for problem 1 of foundations css exercise --- foundations/01-css-methods/index.html | 11 ++++++++++- foundations/01-css-methods/style.css | 9 +++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 foundations/01-css-methods/style.css diff --git a/foundations/01-css-methods/index.html b/foundations/01-css-methods/index.html index effe3cc..cd7f36d 100644 --- a/foundations/01-css-methods/index.html +++ b/foundations/01-css-methods/index.html @@ -5,10 +5,19 @@ Methods for Adding CSS + +
Style me via the external method!

I would like to be styled with the internal method, please.

- + + \ No newline at end of file diff --git a/foundations/01-css-methods/style.css b/foundations/01-css-methods/style.css new file mode 100644 index 0000000..c7dfd17 --- /dev/null +++ b/foundations/01-css-methods/style.css @@ -0,0 +1,9 @@ +/* a red background, white text, a font size of 32px, center aligned, and bold */ + +div { + background-color: red; + font-size: 32px; + color: white; + text-align: center; + font-weight: bold; +} \ No newline at end of file