In tribute page i got a problem with tests

i had mention every thing but it did not satisfy with it.
how to make it pass ?
img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
object-fit: cover;
border-radius: 10px;

  • Your img element should have a display of block.

  • Failed:Your #image should have a max-width of 100%.

  • Passed:Your #image should have a height of auto.

  • Failed:Your #image should be centered within its parent.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.