Img element should responsively resize, relative to the width of its parent element, without exceeding its original size

i’m at a loss with this challenge. help please?

https://codepen.io/adamsmith1990/pen/ZgaRaW?editors=1000

here is a link to my pen if it helps

I don’t see any CSS in your code. Did you do those challenges yet? If you have, I’d have a look here for review. If you skipped those sections, I’d recommend you do them before proceeding.
-J

https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/make-an-image-responsive/

thank you for your reply! i have studied css as well im still just very new to this. ive attached a link below, its not working yet but am I on the right track? ive written the code in css and copied ideas from the challenge you send to me.

https://codepen.io/adamsmith1990/pen/ZgaRaW?editors=0100

it seems ive solved it, thanks again!