Hey guys, this is my first project and i am having difficulty with sizing the image responsively with respect to its parent element. I am very confused on this image sizing part?! Can i get some tips on solving this error? Would appreciate pointing out other mistakes in there too.
Images are inline elements, therefore if you want to adjust the width and height relative to the parent container, make the display property block. I have also noticed you have applied display: flex on the image instead of applying it on parent container.