WDD 230 - Web Frontend Development I

L06: Home Page Enhancement

Overview

Demonstrate your understanding of the learning activities by applying the concepts to your course home page. You will ♨️work with your group to apply the following specifications to your course home page.

Consider starting your group meetings with a prayer.

Instructions

  1. Convert your profile image and any other images used on this page to the Google WebP image format.
  2. Add a hero image of your favorite latter-day temple {List of Latter-day Temples} at the top of the <main> element.
    • Use a <picture> element to contain any images.
    • Convert the images to WebP file type as needed.
    • Use two different images of the temple using the srcset attribute. One to work in the mobile view (profile 400px). The second to work in larger views up to the max width of the <main> content at 960px in landscape orientation.
    • Verify that the images are optimized to support the overall page weight limit in mobile and larger views.
  3. Label the temple using an overlay div on top of the temple picture using absolute positioning: Position. Do not allow the text to wrap in either the mobile or larger view.
    An example of position for an overlay effect: ⚙️ WDD: Absolute Position—Temple Hero.
  4. Make sure that any images used on your home page do not violate their intrinsic aspect ratio in any view. Note this accessibility concept for future page testing.
    An example of contrast ratio issues can be found in this example: ⚙️Image Aspect Ratio
Example Screenshots
Example course home page screenshot in the mobile view
Figure 1: Example Course Home Page Screenshot in Mobile View - Closed
Example course home page portal in a larger view screenshot.
Figure 2: Example Course Home Page Screenshot in a Larger View

Testing

Submission

  1. Commit your local repository and push your work to your wdd230 GitHub Pages enabled repository.
  2. Submit your home page URL in I-Learn.