From 3b40bf75f66fb9c59824cf9e9000525715b6de63 Mon Sep 17 00:00:00 2001 From: Robert Oliver Date: Tue, 1 Oct 2024 02:02:34 -0500 Subject: [PATCH 1/2] Fix shop code page display issue. --- .../index-11.html | 68 +++++++++---------- .../style-11.css | 8 ++- 2 files changed, 40 insertions(+), 36 deletions(-) diff --git a/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html b/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html index 4adb7cd..722f493 100644 --- a/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html +++ b/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html @@ -1,42 +1,42 @@ - - - - - - ClydeBank Coffee Shop + + + + + +ClydeBank Coffee Shop
-
-
- -
-

ClydeBank Coffee Shop

-
-
-

Welcome

-

Welcome to ClydeBank Coffee Shop! We serve the best coffee in town.

-
-
-

Shop

-
-
-
-
-

About Us

-

Our mission is to provide the highest quality coffee to our community.

-
-
-

Contact Us

-

Email us at support@clydebankmedia.com or call us at (800) 340-3069.

-
-
-

Copyright © 2023 ClydeBank Coffee Shop

-
+
+
+
- +

ClydeBank Coffee Shop

+
+
+

Welcome

+

Welcome to ClydeBank Coffee Shop! We serve the best coffee in town.

+
+
+

Shop

+
+
+
+
+

About Us

+

Our mission is to provide the highest quality coffee to our community.

+
+
+

Contact Us

+

Email us at support@clydebankmedia.com or call us at (800) 340-3069.

+
+
+

Copyright © 2023 ClydeBank Coffee Shop

+
+
+ - + \ No newline at end of file diff --git a/11-Chapter 11: Building a JavaScript-Driven Website/style-11.css b/11-Chapter 11: Building a JavaScript-Driven Website/style-11.css index 5359ff1..2dbb09f 100644 --- a/11-Chapter 11: Building a JavaScript-Driven Website/style-11.css +++ b/11-Chapter 11: Building a JavaScript-Driven Website/style-11.css @@ -23,6 +23,10 @@ header { color: white; } +/* Set about and contact-us to hidden by default */ +#about { display: none; } +#contact { display: none; } + /* Move the hamburger a bit to the left and down */ .hamburger { margin-left: -20px; @@ -57,12 +61,12 @@ section { list-style: none; } -.about-us { +.about { background-color: #C08552; color: white; } -.contact-us, .contact-us a { +.contact, .contact-us a { color: white; } From 860ecd9039b3129f45ed1fa45dbfb6aa056423ad Mon Sep 17 00:00:00 2001 From: Robert Oliver Date: Tue, 1 Oct 2024 02:05:01 -0500 Subject: [PATCH 2/2] Fix HTML formatting. --- .../index-11.html | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html b/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html index 722f493..74e8036 100644 --- a/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html +++ b/11-Chapter 11: Building a JavaScript-Driven Website/index-11.html @@ -1,42 +1,42 @@ - - - - - -ClydeBank Coffee Shop + + + + + + ClydeBank Coffee Shop
-
-
- +
+
+ +
+

ClydeBank Coffee Shop

+
+
+

Welcome

+

Welcome to ClydeBank Coffee Shop! We serve the best coffee in town.

+
+
+

Shop

+
+
+
+
+

About Us

+

Our mission is to provide the highest quality coffee to our community.

+
+
+

Contact Us

+

Email us at support@clydebankmedia.com or call us at (800) 340-3069.

+
+
+

Copyright © 2023 ClydeBank Coffee Shop

+
-

ClydeBank Coffee Shop

-
-
-

Welcome

-

Welcome to ClydeBank Coffee Shop! We serve the best coffee in town.

-
-
-

Shop

-
-
-
-
-

About Us

-

Our mission is to provide the highest quality coffee to our community.

-
-
-

Contact Us

-

Email us at support@clydebankmedia.com or call us at (800) 340-3069.

-
-
-

Copyright © 2023 ClydeBank Coffee Shop

-
-
- + - \ No newline at end of file +