Hi there! I'm very new to web design and would like help from this problem from the book Web Development and Design Foundations with HTML5
Hi there! I'm very new to web design and would like help from this problem from the book Web Development and Design Foundations with HTML5, focused on CSS sheets and how it will affect the HTML. I've included my code below (as well as the instructions) and would appreciate an updated index.html and menu.html file, although to my understanding those should hardly change, and the main focus is on getting a javajam.css file, and 90% of everything should be in the .css file. Also, you can ignore the music and jobs links, they're just there from part 1 as experiments on hyperlinks. You should be able to just copy and paste and toss into a folder. Thank you so much, and I'll be sure to rate!
4. Modify the Menu page to be consistent with the new Home page. 5. Configure centered page layout. Hands-On Practice Case Task 1: Create a folder on your hard drive or portable storage device called javajamcss. Copy all the files from your Chapter 2 javajam folder into the javajamcss 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: 1. Global styles for the document (use the body element selector) with background color #FCEBB 6 ; text color #221 8 11 ; and Verdana, Arial, or any sans-serif font. 2. Styles for the header element selector that configure background color #D2B48C centered text 3. Styles for the hi element selector that configure 200% line height. 4. Styles for the nav element selector that configure centered, bold text. Hint: Use the CSS text-align and font-weight properties 5. Styles for the footer element selector that configure background color #D2B4BC, small font size (.60em), italics, and centered text Save the file as javajam.css in the javajamcss folder. Check your syntax with the CSS vali- dator (http:/ljigsaw.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: 1. Add a element to associate the web page with the javajam.css external style sheet file 2. Configure the navigation area. Remove the elements which are no longer needed because you have configured bold text with CSS 3. 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 your page content will be left-aligned instead of centered. 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.30, except for the 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) 1. Launch a text editor, and open the javajam.css file. Add a style rule for an id named wrapper with width set to 80%, margin-right set to auto, and margin-left set to auto 2. 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.29 3. 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.30. Experiment with modifying the javajam.css file. Change the page background color, the font family, and so on. Test your pages in a browser. Isn't it amazing how a change in a single file can affect multiple files when external style sheets are used? Figure 3.30 Ncw rrK:nu.hirnl p;XX Javalam Coffee House Menux+ JavaJam Coffee House Home Menu Music Jobs Coffee at JavaJam Just Java Regular house blend, decaffeinated coffee, or flavor of the day Endless Cup $2.00 Cafe au Lait House blended coffee infused into a smooth, steamed milk. Single $2.00 Double $3.00 Iced Cappuccino Sweetened espresso blended with icy-cold milk and served in a chilled glass. Single $4.75 Double $5.75 2 2016 Javalam Coffee House JavaJam Coffee House Home Men cJobs Relax at JavaJam Specialty Coffee and Tea . Bagels, Muffins, and Organic Snacks Music and Poetry Readings Open Mic Night Every Friday Night 54321 Route 42 Ellison Bay, WI 54210 888-555-5555 Copyright 2019 JavaJam Coffee House For ary questions or concrn regarding JavaJanm please contact me at: irsLast.com
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