Question

2. HTMIICSS Coding Write the XHITMI and CSS code necessary to recreate the following appearance on-screen. Adaprted from the
0 0
Add a comment Improve this question Transcribed image text
Answer #1

index.html


<link href="recipe.css" type="text/css" rel="stylesheet" />

<div id="page">
<h1><img src="header.gif" alt="Washington Beer - Home of the WASHINGTON BEER Commission" /></h1>

<ul>
    <li><a href="">Home</a></li>
    <li><a href="">Festivals</a></li>
    <li><a href="">Breweries</a></li>
    <li><a href="">News</a></li>
    <li><a href="">WABL</a></li>
    <li><a href="">About Us</a></li>
    <li><a href="">Contact</a></li>
</ul>

<div id="content">
  
    <h2>What is WA.B.L?</h2>
    <p>WA.B.L. is a community of <strong>WA</strong>shington <strong>B</strong>eer <strong>L</strong>overs celebrating the <strong>FRESH, LOCAL, AWARD-WINNING</strong> craft beer produced in our state.</p>
    <p>It's a Washington Beer Fan Club!</p>
  
    <div id="join">
      <img src="wabl.jpg" alt="WA.B.L - Washington Beer Lovers" /><br/>
      <a href="">JOIN WA.B.L NOW!</a>
    </div>
  
    <h2>WA.B.L. Perks</h2>
    <p>WA.B.L.'ers enjoy monthly <strong>invitation-only</strong> events at various breweries, brewpubs, tasting rooms, and other businesses promoting tasty Washington beer.</p>
    <p>Each year, upon renewal of their membership, WA.B.L.'ers receive a <strong>cool t-shirt</strong> with a design unique to that year, listing all member breweries.</p>
  
    <h2>WA.B.L. Passport</h2>
    <p>WA.B.L.'ers are also encouraged to visit breweries when they're out traveling around the state. Each member is issued a <strong>passport</strong> in which they collect stamps from the breweries they visit.</p>
    <p>Collecting stamps from WA breweries can get you some great prizes!</p>
</div>
</div>

pie.html

<!DOCTYPE html>
<html>
   <head>
       <link href="recipe.css" type="text/css" rel="stylesheet" />
       <link href="https://webster.cs.washington.edu/images/pie-icon.gif" type="image/gif" rel="shortcut icon" />
       <title>Grandma's Lemon Meringue Pie</title>
   </head>
  
   <body>
       <h1>Grandma's Lemon Meringue Pie</h1>
       <p>
           <img src="https://webster.cs.washington.edu/images/pie.jpg" alt="lemon meringue pie" />
       </p>
       <p>
           One 9-inch pie <br />
           30 Min - Prep time <br />
           10 Min - Cook time <br />
           40 Min - Total <br />
           8 Servings
       </p>
       <hr />
      
       <h2>INGREDIENTS</h2>
       <ul>
           <li>1 cup white sugar</li>
           <li>2 <abbr title="tablespoons">tbsp</abbr> all-purpose flour</li>
           <li>3 <abbr title="tablespoons">tbsp</abbr> cornstarch</li>
           <li>1/4 <abbr title="teaspoon">tsp</abbr> salt</li>
           <li>1 1/2 cups water</li>
           <li>2 lemons, juiced and zested</li>
           <li>2 <abbr title="tablespoons">tbsp</abbr> butter</li>
           <li>4 egg yolks, beaten</li>
           <li>1 (9 inch) pie crust, baked</li>
           <li>4 egg whites</li>
           <li>6 <abbr title="tablespoons">tbsp</abbr> white sugar</li>
       </ul>
       <hr />
      
       <h2>DIRECTIONS</h2>
       <ol>
           <li><strong>Preheat Oven:</strong> Preheat oven to 350 degrees F (175 degrees C).</li>
           <li><strong>Make Lemon Filling:</strong> In a medium saucepan ...
               <ul>
                   <li>Whisk together 1 cup sugar, flour, cornstarch, and salt.</li>
                   <li>Stir in water, lemon juice and lemon zest.</li>
                   <li>Cook over medium-high heat, stirring frequently, until mixture comes to a boil.</li>
                   <li>Stir in butter.</li>
                   <li>Place egg yolks in a small bowl and gradually whisk in 1/2 cup of hot sugar mixture.</li>
                   <li>Whisk egg yolk mixture back into remaining sugar mixture.</li>
                   <li>Bring to a boil and continue to cook while stirring constantly until thick.</li>
                   <li>Remove from heat.</li>
                   <li>Pour filling into baked pastry shell.</li>
               </ul>
           </li>
           <li><strong>Make Meringue:</strong> In a large glass or metal bowl ...
               <ul>
                   <li>Whip egg whites until foamy.</li>
                   <li>Add sugar gradually, and continue to whip until stiff peaks form.</li>
                   <li>Spread meringue over pie, sealing the edges at the crust.</li>
               </ul>
           </li>
           <li><strong>Bake:</strong> Bake in preheated oven for 10 minutes, or until meringue is golden brown.</li>
       </ol>
       <p>
           This is our favorite recipe here at Granny's Pies. It has been enjoyed by pie
           fans for many years. It's Granny's favorite! We hope you'll find that this<br />
           recipe is delicious and also easy to follow; it's a piece of <del>cake</del> pie!
       </p>
       <hr />
      
       <h2>USER COMMENTS</h2>
       <blockquote>
           <p>
               <em>This is a very fun recipe to follow, because Grandma makes it sweet and simple.
               This pie is thickened with cornstarch and flour in <br />
               addition to egg yolks, and contains no milk.</em>
           </p>
           <p><em>- Emilie S.</em></p>
       </blockquote>
       <blockquote>
           <p>
               <em>Q: What do you call an ape who loves pie? <br />
               A: A meringue-utan.</em>
           </p>
           <p><em>- Vickie K.</em></p>
       </blockquote>
       <blockquote>
           <p>
               <em>
                   This site can really <strong>engage</strong> my interest.
                   Follow the recipe above and <strong>make it so</strong>! This
                   pie is <strong>number one</strong>. <br />
               </em>
           </p>
           <p><em>- Jean-Luc Piecard</em></p>
       </blockquote>
      
       <h2>LINKS</h2>
       <a href="http://www.google.com/search?q=lemon+meringue+pie+recipe&amp;start=10">
           Search for other lemon meringue pie recipes
       </a>
       <br />
       <a href="index.html">Home</a>

       <pre>
Copyright &copy; 2012 Granny's Pies
A Granny's Pies Production
    All rights reserved</pre>

       <a href="https://webster.cs.washington.edu/validate-html.php">
           <img src="https://webster.cs.washington.edu/images/w3c-html.png" alt="Valid HTML5" />
       </a>
       <a href="https://webster.cs.washington.edu/validate-css.php">
           <img src="https://webster.cs.washington.edu/images/w3c-css.png" alt="Valid CSS" />
       </a>  
   </body>
</html>

recipe.css

body {
background-color: #FFB131;
font-family: sans-serif;
}

#page {
width: 950px;
margin: 0 auto;
background-color: white;
border-bottom: solid 5px black;
}

#main {
padding: 0 1.5em; /* margin also works */
}

#join {
float: right;
background-color: #FBC57B;
padding: .75em;
margin: 1em;
font-size: 190%;
font-weight: bold; /* not specified in problem */
}

ul {
text-align: center;
font-weight: bold;
padding: 0; /* will let slide */
/* list-style-type: none; -- not needed but OK */
background-color: black; /* not specified in problem */
}

li {
display: inline;
padding: 1.5em; /* margin DOES NOT work */
line-height: 2em;
/* height: 2em; -- not correct but allowed */
}

Add a comment
Know the answer?
Add Answer to:
2. HTMIICSS Coding Write the XHITMI and CSS code necessary to recreate the following appearance on-screen. Adaprted from the WA.B.L page of the Washington Beer Commision webrite, washingtonbeer.c...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Predict the Result.Draw and write a brief description of the Web page that will becreated...

    1. Predict the Result.Draw and write a brief description of the Web page that will becreated with the following XHTML code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><title>CircleSoft Designs</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">body { background-color: #FFFFCC;color: #330000;font-family Arial,Helvetica,sans-serif; }.content { width: 750px; }</style></head>Apply Your Knowledge<body><div class="content"><h1>CircleSoft Design</h1><div><strong>CircleSoft Designs will </strong><ul><li>work with you to create a Web presence that fits yourcompany</li><li>listen to you and answer your questions</li><li>utilize the most appropriate technology for your sites:JavaScript, Java, PHP, databases,...

  • CST 231   Web Systems         Fall 2017    Due Friday, December 8, 2017 at 11:59pm. Choose three...

    CST 231   Web Systems         Fall 2017    Due Friday, December 8, 2017 at 11:59pm. Choose three Problems Only. 100 points total 1 (25 pts.). The HTML document listed below (with gaps) is rendered as shown at right. The header at the top is an h3 element subject to a CSS rule (see below) causing its font to be Courier New. The boxed content is that of a p element whose class is box (see below), which specifies, among other things,...

  • n the Labs Labs 1 and 2, which increase in difficulty, require you to create webpages based on what you learned in the...

    n the Labs Labs 1 and 2, which increase in difficulty, require you to create webpages based on what you learned in the chapter; Lab 3 requires you to dive deeper into a topic covered in the chapter. Lab 1: Creating an External Style Sheet for City Farmer Problem: You work for a local but rapidly growing gardening supply company called City Farmer that specializes in products that support food self-sufficiency. The company has hired you to help create the...

  • HTML / CSS Content Requirements Create a home page with the following elements and settings: Set...

    HTML / CSS Content Requirements Create a home page with the following elements and settings: Set the background, font colors, and “theme” to match those used in lab assignment #1 using an external css file; inline styling should be used only where necessary to override styling from the external css H1 element, centered at the top of the page, with “Thank you for choosing Your Company Name. . . “ text* Div or other container with at least 5 sentences...

  • 2 Apply Your Knowledge Reinforce the skills and apply the concepts you learned in this chapter Styling a Webpage Instru...

    2 Apply Your Knowledge Reinforce the skills and apply the concepts you learned in this chapter Styling a Webpage Instructions: In this exercise, you will use your text editor to create external, embedded, and inline styles for the Durango Jewelry and Gem Shop home page. You will style the sections of the semantic wireframe header, nav, main, and tooter and a div element that surrounds all of the content to center the content on the page. You will also float...

  • Code for the movies page: <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />...

    Code for the movies page: <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" type="text/css" href="style.css" /> <title>Daniel's Movie Page</title> </head> <body> <a href="hobbies.html">Hobbies</a> <h1>Movies and Actors</h1> <ol> <li class="ol-list1">Gravity</li> <li>Avenger</li> <li>Marshal</li> <li>Interstellar</li> <li>Dark Knight</li> <li>Superman</li> </ol> <ul> <li class="ul-list1">Robet Downey jr.</li> <li>Sharuk Khan</li> <li>Ranbir Kapoor</li> <li>Sidhhart Malhotra</li> <li>Angela Joli</li> <li>Leonardo DiCaprio/li> </ul> <h2>Favorite Movie</h2> <p> <b>Gravity:</b> The movie portrayed what happens to an astronaut if he/she is pushed away from spaceship.It was terrifying how much...

  • Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Da...

    Need help starting from question 9. I have tried multiple codes but the program says it is incorrect. Case Problem 1 Data Files needed for this Case Problem: mi pricing_txt.html, mi_tables_txt.css, 2 CSS files, 3 PNG files, 1 TXT file, 1 TTF file, 1 WOFF file 0 Marlin Internet Luis Amador manages the website for Marlin Internet, an Internet service provider located in Crystal River, Florida. You have recently been hired to assist in the redesign of the company's website....

  • In a seperate javascript file This step in brewing beer is to extract sugars from grains by soaking the grains in hot wate a different wor 3. JavaSeript/DOM Background: The first amount of sugar...

    In a seperate javascript file This step in brewing beer is to extract sugars from grains by soaking the grains in hot wate a different wor 3. JavaSeript/DOM Background: The first amount of sugar (the grain's yield) to the wort. Calculating the final amount of sugar in the wort is an imp ing a beer recipe, since the sugars will later ferment into alcohol. To measure the amount of sugar in designi step is called mashing, and the resulting sugar-water...

  • NEED HELP with HTML with Javascript embedding for form validation project below. I have my code...

    NEED HELP with HTML with Javascript embedding for form validation project below. I have my code below but I'm stuck with validation. If anyone can fix it, I'd really appreciate. ****************************************************************************** CODE: <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <title>Nice</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script> var textFromTextArea; function getWords(){ var text =...

  • Hello, this is my code. moest of the things works but when select the price, i...

    Hello, this is my code. moest of the things works but when select the price, i just dont get my total. can someone help me out . thank you My queshion is also here The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit. Here are the requirements: The home page (i.e. the main page) should simply be the heading, image, and slogan of the site.  The home page should NOT...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT