Hi well done for this challenge.
You should try to make your website with a mobile-first approach.freecodecamp.org. I find it's easier to use this way.
For the images it's better to use <picture>
<picture>
<source media="(max-width: 799px)" srcset="your path" >
<source media="(min-width: 800px)" srcset="your path" >
<img src="your path" alt="your description" >
</picture>
Here a link.Mozilla mdn.
Hope to helpful.
Marked as helpful
0