Tribute Page - Build a Tribute Page

Hi guys! my code for the max width in this challenge doesn’t pass and i don’t know what to do anymore . it says:

Your #image should have a max-width of 100% .
Your #image should be centered within its parent.

anyone has done it?

/* file: styles.css */
.image {
  max-width: 100%;
  height: auto;
  display: block;

img {

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/108.0.1462.54

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

please post all the code, not just a snippet (both html and css).

Make sure you have linked the stylesheet correctly.

Try to change .image selector to #image as well.

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