Need Help- Tribute Page

Need Help- Tribute Page
0

#1

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

img{
max-width: 100%;
height: auto;
margin: auto;
}


#2

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

#3

Thank you :slight_smile: