1. The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Try using the “max-width” style property
You need to use the max-width property on your img tag in your CSS and then set your width to 100%. Then it will resize but never get bigger than the max-width
max-width: 100%;
or width: 100%;
max-width 100 makes the image never become larger than it’s original size (so you don’t have a 240p image displaying like a 720p image) and width 100 makes it span across the screen (good for large displays.)
My suggestion would be something like this: