Question
I need help! JavaJam Coffee Bar Chapter 3 See Chapter 2 for an introduction to the JavaJam Coffee Bar Case Study. Figure 2.32 shows a
I need help!
JavaJam Coffee Bar Chapter 3
See Chapter 2 for an introduction to the JavaJam Coffee Bar Case Study. Figure
2.32 shows a site map for the JavaJam website. The Home page and Menu page were created in Chapter 21. You will develop a new version of the website that uses an external style sheet to configure text and color. Figure 2.33 depicts the wireframe page layout.
You have the following tasks:
Create a new folder for this JavaJam case study.
Create an external style sheet named javajam.css that configures the color and text for the JavaJam website.
Modify the Home page to utilize an external style sheet to configure colors and fonts. The new Home page and color swatches are shown in Figure 3.902
Modify the Menu page to be consistent with the new Home page.
Configure centered page layout.
Hands-On Practice Case
TASK 1: THE WEBSITE FOLDER. Create a folder on your hard drive or portable storage device called javajamcss. Copy all the files from your Chapter 2 java Jam folder into the iavajamcss folder.
TASK 2: THE EXTERNAL STYLE SHEET. You will use a text editor to create an external style sheet named javajam.css. Code the CSS to configure the following:
Global styles for the document (use the body element selector) with background color #FCEBB6; text color #221811; and Tahoma, Arial, or any sans-serif font.
Styles for the header element selector that configure text color #8C3826, background color #D2B48C, and centered text.
Styles for the h1 element selector that configure 200% line height.
Styles for the h2 element selector that configure #8C3826 text color.
Styles for the nav element selector that configure centered, bold text. Hint: Use the CSS text-align and font-weight properties.
Styles for the footer element selector that configure background color #D2B48C, small font size (. 60em), italics, and centered text.
Save the file as javajam.css in the javajamcss folder. Check your syntax with the CSS validator (http://jigsaw.w3.org/css-validator). Correct and
retest if necessary.
TASK 3: THE HOME PAGE. Launch a text editor, and open the index.html
file. You will modify this file to apply styles from the javajam.css external
style sheet as follows:
Add a element to associate the web page with the javajam.css external style sheet file.
Configure the navigation area. Remove the elements which are no longer needed because you have configured bold text with CSS.
Configure the page footer area. Remove the and elements-they are no longer needed since CSS is now used to configure the text.
Save the index.html file, and test it in a browser. Your page should look similar to the one shown in Figure 3.29 except that the background color and alignment of your page content is different. Don't worry-you'll center
your page layout in Task 5 of this case study.
TASK 4: THE MENU PAGE. Launch a text editor, and open the menu.html file. You will modify this file in a similar manner as you modified the home page: Add the element and configure the navigation and page
footer areas. Save and test your new menu.html page. It should look similar to the one shown in Figure 3.30L, except for the background and
Alignment.
TASK 5: CENTER PAGE LAYOUT WITH CSS. Modify javajam.css, index.html, and menu.html to configure page content that is centered with 80% width
(refer to Hands-On Practice 3.9 if necessary):
Launch a text editor, and open the javajam.css file. Add a style rule for an id named wrapper with width set to 80%, #FEFAEB background color, margin-right set to auto, and margin-left set to auto.
Launch a text editor, and open the index.html file. Add the HTML code to configure a div element assigned to the ID wrapper that "wraps," or contains, the code within the body section. Save and test your index.html page in a browser and you'll notice that the page content is now centered within the browser viewport as shown in Figure 3.291.
Launch a text editor, and open the menu.html file. Add the HTML code to configure a div element assigned to the id wrapper that "wraps," or contains, the code within the body section. Save and test your menu.html page in a browser and you'll notice that the page content is now centered within the browser viewport as shown in Figure 3.301.
When you are done following the textbook instructions, please make the additional edits to your file(s):
In the CSS you created for the H1, using the font-family declaration, set the font style to: Brush Script MT, cursive;
In the CSS create a class style called special that specifies font-weight: bold and the color of the font to #660099 (purple).
In the HTML on the index page, go to the last List Item (LI) and assign the class special to it. On the menu page, go to the last Data Definition (DD) in your list, and assign the class special to it.
HERE IS WHAT I HAVE
intex.html
JavaJam Coffee Bar
Home
Menu
Music
Jobs
Coffee at JavaJam
- Just Java
- Regular house blend, decaffeinated coffee, or flavor of the day.
Endless Cup $3.50
- Cafe au Lait
- House blended coffee infused into a smooth, steamed milk. Single
$4.00 Double $5.00
- Iced Cappuccino
- Sweetened espresso blended with icy-cold milk and served in a chilled glass. Single $5.00 Double $6.50
- Hot Chocolate
- Creamy milk chocale mixed piping hot milk with homemade marshallows.
Single $3.50 Double $5.50
Copyright © 2022 JavaJam Coffee Bar
my email
Menu.html
JavaJam Coffee Bar
Home
Menu
Music
Jobs
Relax at JavaJam
Friendly and eclectic — JavaJam Coffee Bar is the perfect place to take a break, enjoy a refreshing beverage, and have a snack or light meal.
- Specialty Coffee and Organic Tea
- Bagels, Muffins, and Gluten-free Pastries
- Organic Salads
- Music and Poetry Readings
- Open Mic Night
- Live Music
Joliet Junior College
(815) 729-9020
Copyright © 2022 JavaJam Coffee Bar
my email
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started