Build a Tribute Page - Build a Tribute Page

Tell us what’s happening:

I think I have done everything what i can think of, but me step 16, 17 and 19 is still wrong. Can someone help please.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Tribute Page</title>
  </head>

  <body>
    <main id="main">
    <h1 id="title">Tribute Page</h1>
    <div id="img-div">
   <img id="image" src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/1.jpg"/>
   <figcaption id="img-caption">A cute cat standing in the farm.</figcaption>
   <h2 id="tribute-info">Information</h2>
   <a id="tribute-link" href="#tributelink" target="_blank">Click here!</a>
    </div>
    </main>
  </body>
</html>
/* file: styles.css */
img{
  display: block; 
}

#image { 
max-width: 100%;
display: block;
margin-left: auto;
margin-right: 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/144.0.0.0 Safari/537.36

Challenge Information:

Build a Tribute Page - Build a Tribute Page

Hi @gurleen

How is the CSS connected to the HTML?

Happy coding

thanks though. I always forgot about it.

1 Like