Tribute Page, tests for #Layout do not pass


i created the tribute page for the freecodecamp responsive web design course.

Everything is done but the tests for the Layout do not pass and i don’t understand why.

I looked for help on the forum and found a way to center the image. I set the max width on the image but if i understand the error message correctly the max-width is set to ‘null’

Here is the important part:

<div id="img-div" class=image-container>
<img id="image"><a href="     /wiki/File:N.Tesla.JPG#/media/File:N.Tesla.JPG"><img       src="" alt="Photograph of Nikola Tesla, a slender, moustachioed man with a thin face and pointed chin." class=picture></a><br></a></img>
  <p id="img-caption" class=caption >
  This is Nikola Tesla posing for a photo

    max-width: 100%;
    height: auto;
  width: 1500px;
  margin: auto;
  text-align: center;

Here is the link to my codepen:

Challenge: Build a Tribute Page

Hiya Loggik, the tests are passing on my computer, could you check again, and confirm please?
NB Looks good!

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