About last 2 challenges of Tribute project

For user story 8 and 9, I got confused about resizing the img element relative to parent element.

What is considered to be the parent element?

I understood that in order to make an element responsive, I can use @media in my CSS. I tried to look at codes that other students made but did not look like they are resizing the image, but they passed the test.

Welcome to the forums @gvghk1.

<parentElement>
  <childElement>Your image is here</childElement>
</parentElement> 

Maybe review the lesson on image responsiveness.
You really don’t need a media query to pass the tests. And really, for the first two projects you won’t need to use a media query if you use percentages when defining widths rather than hardcoding pixel values.

If you need further assistance a link to your pen will help us to help you.

That was really helpful thanks :innocent: