Need Help- Tribute Page

I have a problem in Tribute Page project

got an error

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

here is the link

please help with this error

max-width: 100%;
height: auto;
margin: auto;

When you run the test, click on the button that says 9/10 and it tell you the errors. It also tells you that it was expecting your image to have the property display:block , not inline as you had. Once you add “display:block” to the image you pass all the test.

  • Nao
1 Like

Thank you :slight_smile: