Tribute Page - Build a Tribute Page

Tell us what’s happening:
It is telling me that I have not meet the follow requirements but they are there.

Are they in the wrong spot? I have changed this thing so many times now.

Your code so far

    <main id="main">
      <h1 id="title">Dr. Martin Luther King Jr.</h1> 
      <figure id="img-div">
        <figcaption id="img-caption">
          Dr. Martin Luther King Jr. <em>I Have A Dream!</em>

#image {
  object-fit: contain;
  border-radius: 10px;
  max-width: 100%;
  display: block;
  height: auto;
  margin: auto;


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

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: Tribute Page - Build a Tribute Page

Link to the challenge:

HI @jdrjr10 !

Welcome to the forum!

Your failing all of the tests that involve CSS.
Did you post all of your code?
Because it looks like there are parts missing from the screenshot.

Also, are you sure you linked the css file to your HTML file correctly?
I would suggest double checking that is correct

Yes it is linked correctly. The code in question is below the screenshot.

It accepted the height requirement of auto but the display, max-width, and center requirements were not recognized. The code is in the same tag.

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