Assessment wanted for Mozilla splash page!

Thank you!

Hi @das.serban

You have an error in the srcset attributes that causes the small images to not load. In srcset we need to use w instead of px. For example: srcset="firefoxlogo120.png 120w, firefoxlogo400.png 400w".

The <picture> element correctly loads the smaller image. You can even remove the second <source> because it will automatically use the fallback <img> for 601+ pixels wide screens.

You can test the loading of the different images with the Firefox DevTools. Just make your browser window smaller while having the network tab open and you will see how the smaller images are getting loaded.

I hope that helps,
Michael

Ok ok, I will make the changes. Thank you for your time! :v: :v: :v:

1 Like