Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this chapter s case study, you will use the Pacific Trails Resort existing website ( Chapter 8 ) as a starting point and add
In this chapters case study, you will use the Pacific Trails Resort existing website Chapter as a starting point and add an informational table to the Yurts page on the Pacific Trails website. Your new page will be similar to Figure when you have completed this case study.
You have three tasks in this case study: Create a new folder for this Pacific Trails case study.Modify the style sheet pacificcss to configure style rules for the new table.Modify the Yurts page to use a table to display information, as shown in Figure Task : Create a folder called chpacific to contain your Pacific Trails Resort website files. Copy the files from the Chapter Case Study chpacific folder into the new chpacific folder. Task : Configure the CSS You will add styles to configure the table on the Yurts page. Launch a text editor and open the pacific.css external style sheet file. You will add new style rules above the media queries. Configure the table. Code a new style rule for the table element selector that configures a table with a pixel solid blue border #CC and no cellspacing use Configure the table cells. Code a new style rule for the td and th element selectors that sets padding to em and configures a pixel solid blue border #CC Center the td content. Code a new style rule for the td element selector that centers text. Configure the text class. Notice that the content in the table data cells that contain the text description is not centered. Code a new style rule for a class named that will override the td style rule and leftalign the text. Configure alternaterow background color. The table looks more appealing if the rowshave alternate background colors but is still readable without them. Apply the CSS pseudoclass to configure the odd table rows with a light blue background color #FFAFCSave the pacific.css file. Task : Update the Yurts Page. Open the yurts.html page for the Pacific Trails Resort website in a text editor. Add a blank line above the closing main tag.Configure the text Yurt Packages within an h element.Below the new h element, configure a paragraph with the following text: A variety of luxury yurt packages are available. Choose a package below and contact us to begin your reservation. Were happy to build a custom package just for you! You are ready to configure the table. Position your cursor on a blank line under the paragraph and code a table with four rows and four columns. Use the table, th and td elements. Assign the td elements that contain the detailed descriptions to the class named The content for the table is as follows: Package NameDescriptionNightsCost per PersonWeekend EscapeTwo breakfasts, a trail map, and a picnic snack$Zen RetreatFour breakfasts, a trail map, a picnic snack, and a pass for the daily sunrise Yoga session$Kayak AwayTwo breakfasts, two hours of kayak rental daily, and a trail map$ Save your yurts.html file. Launch a browser and test your new page. It should look similar to Figure If the page does not display as you intended, review your work, validate the CSS validate the HTML modify as needed, and test again.
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