Assessment Request for Assessment: Mozilla Splash Page

I would like to have an assessment on the assessment mentioned in this page:

My Code
Code - https://github.com/mariaringes/mdnassessments/tree/main/mozilla-splash-page
Code Deployed - https://mariaringes.github.io/mdnassessments/mozilla-splash-page/

Notes
I am unable to validate the srcset images to be working or not. Can you please confirm/identify what pieces are missing?

Thank you,
Maria Ringes

Hello @maria_ringes

you doing great well done just tiny typo

 <picture>
          <source media="(max-width:600px)" srcset="red-panda600.jpg">
          <source media="(min-width:601px)" srcset="red-panda1200.jpg">
          <img src="../MDN/red-panda1200.jpeg" alt="Red Panda">
 .. will make you go to the parent of the current directory then MDN will go to the folder MDN 
which is not exist in your github it called mozilla-splash-page
        </picture>

to test the page with different screen size you have 2 option

  1. resize your browser window and notice the image change you could also right click the image then open in new window and check the url of the opened page and you could notice which image it loaded

  2. uses responsive mode in your browser in firefox from the menu
    tool -> Browser tool -> responsive design mode

in chrome from the developer tool window choose toggle device toolbar it next to the element tab

if you talk about issue in chrome that it does not load the small img using the img and srcset then that expected
if you load the site in big screen then it load the bigger image then when you resize it to small one it does not load the small image it just resize the image
it do that to save the bandwidth need to load the other image from the server

as mentioned by the big boss chrisdavidmills

hope that help and have a nice day :slight_smile:

2 Likes

Thank you @justsomeone! Very helpful. That typo has been corrected and the site has been tested and proves to be working!

1 Like

you welcome @maria_ringes and well done and have a nice day :slight_smile: