Can someone help me how to do this task please? I don't understand

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

Can someone help me how to do this task please? I don’t understand.

if you post your pen it will be easier to help you

1 Like

Here’s a link to another post with answers to the same question.

Best of luck!

1 Like

What I don’t get is, “parent element”. What does that mean?

Children are elements that nested inside their parent:

<parent>
  <first-child>
  <nth-child>
  <nth-child>
  <last-child>
</parent>

Like a family tree represented from left to right

1 Like

Thanks a lotttttttttttttttttttttttttttttt