Tribute Page - Build a Tribute Page

Tell us what’s happening: Hello, i have all of the things it is requesting in my code. it keeps saying … * Your img element should have a display of block.

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

Your #image should be centered within its parent.

Your code so far

.img-container {
    margin: auto;
    padding: 30px;
    background-color: #002;
.musk-image {
    object-fit: contain;
    display: block;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    margin: auto;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Tribute Page - Build a Tribute Page

Welcome to our community!

You have used the class selector instead of the required id selector. The name of a selector is also changed - it should be #image according to the given user stories.

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