Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this chapter's case study you will use the existing Path of Light Yoga Studio (Chapter 4) website as a starting point while you create a

this chapter's case study you will use the existing Path of Light Yoga Studio (Chapter 4) website as a starting point while you create a new version of the website that incorporates images.

You have five tasks in this case study:

  1. Create a new folder for the Path of Light Yoga Studio website.

  2. Update the yoga.css external style sheet.

  3. Update the Home page: index.html.

  4. Update the Classes page: classes.html.

  5. Create a new Schedule page: schedule.html.

Task 1: Create a folder called ch5yoga to contain your Path of Light Yoga Studio website files. Copy the files from the Chapter 4 Case Study ch4yoga folder and place them in your ch5yoga folder. Locate the chapter5/casestudystarters/yoga folder in the student files. Copy the following files to your ch5yoga folder: lilyheader.jpg, yogadoor.jpg, yogalounge.jpg, and yogamat.jpg.

Task 2: The External Style Sheet. Launch a text editor and open the yoga.css external style sheet file.

  1. The body element selector. Add a declaration that configures Verdana, Arial, or sans-serif font typeface.

  2. The header element selector. Add declarations to configure lilyheader.jpg as a background image that displays on the right without repeating.

  3. The nav element selector. Code styles to configure centered, bold text.

  4. The nav a element selector. Code styles to eliminate the display of the underline for hyperlinks (hint: use the nav a descendant selector with text-decoration: none;).

  5. The h1 element selector. Code styles to display 400% line height and 1em text-indent.

  6. The footer selector. Add declarations to configure small, italic, and centered text.

  7. The li element selector. Code styles to configure 90% font size.

Save your file. Use the CSS Validator (http://jigsaw.w3.org/css-validator) to check your syntax. Correct and retest if necessary.

Task 3: The Home Page. Launch a text editor and open the home page, index.html. Remove the b, small, and i tags from the page. Add an tag above the h2 element. Configure the tag to display the yogadoor.jpg image. Configure the alt, height, and width attributes for the image. Also configure the image to appear to the right of the text by coding the align="right"attribute on the tag. Note: The W3C HTML validator will indicate that the align attribute is invalid. We'll overlook the error for this case study. In Chapter 7, you'll learn to use the CSS float property (instead of the align attribute) to configure this type of layout. Save and test your page in a browser. It should look similar to Figure 5.27.

Figure 5.27

Path of Light Yoga Studio home page.

image text in transcribed

Figure5.27Full Alternative Text

Task 4: The Classes Page. Launch a text editor and open the classes page, classes.html. Remove the b, small, and i tags from the page. Add an tag above the h2 element. Configure the tag to display the yogamat.jpg image. Configure the alt, height, and width attributes for the image. Save and test your page in a browser. It should look similar to Figure 5.28.

Figure 5.28

New Path of Light Yoga Studio wireframe.

image text in transcribed

image text in transcribedimage text in transcribed

Transcribed image text

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

For any random variable X, we have Var(X) E(X).

Answered: 1 week ago

Question

Describe ERP and how it can create efficiency within a business

Answered: 1 week ago