Assessment wanted for "Mozilla splash page" | dissidenttux

Assessment wanted for “Mozilla splash page”

Looking for feedback on the HTML assessement Mozilla splash page.

I am shaky about the elements/attributes regarding the art direction problem.

My code (on CodePen):


<!DOCTYPE html>
<html lang="en-us">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>Mozilla splash page</title>
    <link href=',700' rel='stylesheet' type='text/css'>
      /* header and body setup */

      html {
        font-family: 'Open Sans', sans-serif;
        background: url(pattern.png);

      body {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        background-color: white;
        position: relative;

      /* Header styling */

      header {
        height: 150px;

      header img {
        width: 100px;
        position: absolute;
        right: 32.5px;
        top: 32.5px;

      h1 {
        font-size: 50px;
        line-height: 140px;
        margin: 0 0 0 32.5px;

      /* main section and video styling */

      main {
        background: #ccc;

      article {
        padding: 20px;

      h2 {
        margin-top: 0;

      p {
        line-height: 2;

      iframe {
        float: left;
        margin: 0 20px 20px 0;
        max-width: 100%;

      /* further info links */

      .further-info {
        clear: left;
        padding: 40px 0;
        background: #c13832;
        box-shadow: inset 0 3px 2px rgba(0,0,0,0.5),
                    inset 0 -3px 2px rgba(0,0,0,0.5);

      .further-info a {
        width: 25%;
        display: block;
        float: left;

      .further-info img {
        max-width: 100%;

      .clearfix {
        clear: both;

      /* Red panda image */

      .red-panda img {
        display: block;
        max-width: 100%;
      <!-- insert <img> element, link to the small
          version of the Firefox logo -->
          <img src="originals/firefox_logo-only_RGB.png"/>

        <!-- insert iframe from youtube -->
        <iframe width="400" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

        <h2>Rocking the free web</h2>

        <p>Mozilla are a global community of technologists, thinkers, and builders, working together to keep the Internet alive and accessible, so people worldwide can be informed contributors and creators of the Web. We believe this act of human collaboration across an open platform is essential to individual growth and our collective future.</p>

        <p>Click on the images below to find more information about the cool stuff Mozilla does. <a href="">Red panda picture</a> by Mathias Appel.</p>

      <div class="further-info">
        <!-- insert images with srcsets and sizes -->
        <a href="">
            alt="Firefox logo: a fox around the globe"
            srcset="firefox_logo-only_RGB400.png 400w, firefox_logo-only_RGB120.png 120w"
            sizes="(max-width: 500px) 120px,
                  400px" />
        <a href="">
          <img src="originals/mozilla-dinosaur-head.png"
            alt="Firefox logo: a fox around the globe"
            srcset="mozilla-dinosaur-head400.png 400w, mozilla-dinosaur-head120.png 120w"
            sizes="(max-width: 500px) 120px,
                  400px" />
        <a href="">
          <!-- It's reduntant to make a 400px firefox-addons image for srcset as it's already 400px wide -->
          <img src="originals/firefox-addons.jpg"
            alt="Firefox logo: a fox around the globe"
            srcset="originals/firefox-addons.jpg 400w, firefox-addons120.jpg 120w"
            sizes="(max-width: 500px) 120px,
                  400px" />
        <a href="">
          <img src="originals/mdn.svg"
            alt="Firefox logo: a fox around the globe" />
        <div class="clearfix"></div>

      <div class="red-panda">
        <!-- insert picture element -->
          <source media="(max-width: 600px)" srcset="red-panda600.jpg" />
          <source media="(max-width: 1200px)" srcset="red-panda1200.jpg" />
          <img src="originals/red-panda.jpg" alt="A red panda, curled in the dense foilage of a tree" />


Hi again @dissidenttux

Amazing work! :medal_sports:

Everything is correct!


1 Like