Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use html 5 banner.png overview.png background.png rottenbig.png rbg.png Organize the content of the zipped file so the and the html file to be inside the

use html 5

banner.png

overview.png background.png rottenbig.png rbg.png

  1. Organize the content of the zipped file so the and the html file to be inside the folder of .

  2. Rename the file skeleton.html into .

  3. OpenNotepad++

bannerbg.png

fresh.gif rotten.gif critic.gif

move into the folder of step 3,

images

step 1

tmnt.html

8. Gotothefolderyourcreatedinsidethestep2andcreateafileinsideit(usenotepad++ for that). Name the file movie.css. This file will contain style sheet for tmnt.html

Right now you are provided with a skeleton of tmnt.html with the page contents, but no page sections or styles.

Your mission in this lab is to recreate the page below. Your page must match the appearance specified in this document. (The screenshot was taken on Windows in Firefox, which may differ from your system.)

We do not expect you to produce a pixel-perfect page that exactly matches this image. But your page should follow the styles specified in this document and match the look, layout, and behavior shown here as closely as possible.

LAB REQUIREMENT

WHAT YOU CAN DO AND WHAT YOU CAN NOT DO?

  • All of your modification of the page format and style should be done through the css file.

  • Solving the problem using HTML5 semantic tags will give you a 20% bonus.

    . Please perform the following:

  • Make sure that you rename the Skelton page (the page named skeleton.html) into be (Tmnt.html) in the previous steps.

  • The page's title is TMNT - Rancid Tomatoes. o The page has a "favorites icon" ("favicon") of rotten.gif. Here is a link of how

    you can do that.

  • Make the page background using the image background.png.

  • The page text uses 8pt font, using Verdana, Tahoma, or any sans-serif font on the

    system.

  • The page body has no margin or padding, so its contents stretch to the very edge of

    the browser window.

  • The top of the page is an image banner. The center of this banner is banner.png.

  • Behind this banner bannerbg.png repeats horizontally across the length of the page.

    Each image is 50px tall.

    o Hint: To make the banner stretch to the edges of the page, use the bannerbg.png as the background image of a block element that is behind banner.png.

  • Underneath the image banner is a centered heading containing the movie name and year in a 24pt bold font. The preferred fonts for this heading are Tahoma, Verdana, or any sans-serif font available on the system. The text in the header has a "shadow" located 3px right and 3px down from the original text, using the color #999999.

  • Below the main heading is the page's overall content area, with an overall 33% rating for the film, several critics' reviews, and an overview of the film at right. Taken together this content occupies 800px in width and is centered horizontally within the page. If the page resizes horizontally, this 800px section should move dynamically so

Do not express style information in the HTML, such as inline styles or presentational

HTML tags such as b or font.

The only modifications you should make are to divide the html page into sections using

div/span tags, and add id and class attributes. You should also replace the last two

"YOUR REVIEW HERE" reviews with text of your choice. (You are also allowed to

add the HTML necessary to enable the "favorites icon" or "favicon" specified on the

next page.)

Do not use HTML or CSS constructs past Chapter 4 of the textbook, and do not use

HTML tables

APPEARANCE DETAILS:

that it remains centered horizontally on the page. This overall section has a 4px gray solid border with a 20px round radius and should be sized large enough to contain all of its contents.

o Hint: See textbook section 4.3 on making contents fit. In the overall area, there is a 550px-wide left section for the "rotten" 33% rating and

the critics' reviews of the film. o The section is topped by a smaller section containing a large "rotten" image

(rottenbig.png), vertically aligned to be even with the bottom of the text around

it. o Behind this the image rbg.png repeats horizontally across the entire length of

the section. Each of these images is 83px tall. This is followed by the 33%

overall rating for the film, which is shown in a 48pt red bold font. o Below the 33% overall rating, there are two columns of reviews. The columns each occupy 47% of the width of the overall left-center section of the page. There is a horizontal spacing of 2% between the columns and neighboring

content.

Hint: See textbook section 4.3.4 on multi-column layouts, but avoid the new column-* CSS3 properties.

Each review is a box with a quote about the movie, in bold 8pt font. The quote box has a background color of #E8DC9B, and a gray border, 2px thick with a 10px round radius. 8px separate the quote box's content from its border.

o Each box has an icon (fresh.gif or rotten.gif) for whether the reviewer liked or disliked the movie on the left side of the quote box, with 5px separating it from text to its right. Text wraps around the images as needed.

o The reviewer's personal information follows under the quote box, including: the reviewer's name; and the publication in italic. A reviewer icon (critic.gif) is shown to the left of the text, with 5px of horizontal space separating it from the text. There is 20pt of vertical space between reviews.

Hint: Paragraphs in movie reviews should be made large enough to contain all their content, including any floating content. See textbook section 4.3.3 on making contents fit into a container

  • The top eight reviews should be as shown, but you should change the last two to hold any text that you like.

  • To the right of the critics' reviews is a General Overview section of the page with a list of information about the movie, with a background color of #A2B964.

o This section is 250px wide, with 10pt between the edge of the section and the text of the list. Its text appears in an 8pt font of Arial or any sans-serif font available on the system.

o You may assume that the general overview section will always be taller than the section of reviews to its left.

o The section includes a definition list (using dl, dt, and dd elements) about the movie such as its stars and director. Each term is bolded and has 10pt of vertical separation between it and the element that precedes it. The bottom of this section contains a list of links about the movie. The list should be shown without bullets or indentation.

  • Below the reviews is a bar of centered text indicating reviews "(1-10) of 88", with a background color of #A2B964. It is placed directly next to surrounding content. 5px separate the edge of its text and the element's own outer edge.

  • The page's bottom right corner has links to the W3C validators. These images should . The images should

    appear as 50% opaque, halfway transparent.

  • All other style elements on the page are subject to the preference of the web browser.

  • Again, express all stylistic information on the page using CSS defined in movie.css.

    We strongly recommend that you install and use the Firebug add-on for Firefox on this assignment. (Chrome includes a similar "Inspect" tool.) Using it to inspect elements will help you find problems with the box model and your styles. We suggest using the "Layout" tab at bottom right to see the box model settings for particular elements.

remain fixed in the page's bottom-right corner, even after scrolling

IMPLEMENTATION AND GRADING:

For full credit, your page must use valid HTML5 and successfully pass the W3C .

. For full credit, your style sheet must successfully . Part of your grade comes from expressing your CSS concisely and without unnecessary or

redundant styles. For example:

HTML5 validator

The majority of the points for this assignment will be for the movie.css file

pass the W3C CSS validator

o The two main columns of reviews share many (if not all) styles in common, so you should not specify those styles twice in your CSS file.

o As another example, if the page uses the same color or font family for multiple elements, group those elements into a single CSS rule, so that it would be possible to change the page's color/font by modifying a single place in the CSS.

o Use context selectors to avoid needing to apply classes and IDs to large numbers of elements. Limit the use of absolute and fixed positioning on this assignment.

  • Format your HTML and CSS to be as readable as possible.

  • Place a comment header in each file with your name, section, a brief description of the

    assignment, and the file's contents. Properly use whitespace and indent your HTML and CSS code as shown in class. To keep line lengths manageable, do not place more than one block element on the same line or begin a block element past the 100th character on a line.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions