Tribute Page - Build a Tribute Page

Tell us what’s happening:

I am unable to get to know why my code is been not passed have tried multiple times with all the other selectors also yet mot able to resolve this. It would be great help if I can get assistance with this.

Your code so far

<!-- file: index.html -->
<!Doctype html>
<html lang="en">
  <head>
    <link rel="stylesheet" herf="stylesheet.css" />
  </head>
  <body>
    <main id="main">
      <h1 id="title">Ajith Kumar</h1>
      <div id="img-div">
        <img id="image" src="https://th.bing.com/th/id/OIP.M0U7zjwn4ri2tnbtD3rBGwHaEI?rs=1&pid=ImgDetMain" />
   <figcaption id="img-caption">A great man, called as "Thala", actor in Tamil cinema.</figcaption>
      </div>
      <section id="tribute-info">
        <h2>My Fav Movies</h2>
        <ul>
          <li>Billa</li>
          <li>Mankatha</li>
          <li>Varalaru</li>
          <li>Billa 2</li>
          <li>Aarambam</li>
        </ul>
        <div>
          <p>Get to know maore about him on this <a href="https://en.wikipedia.org/wiki/Ajith_Kumar" target="_blank" id="tribute-link">Ajith Kumar</a></p>
        </div>
      </section>
    </main>
  </body>
</html>
  
/* file: styles.css */
#image {
  display: block;
  max-width: 100%;
  height: auto;
}
#main {
  margin: 0 auto;
}

Your browser information:

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

Challenge Information:

Tribute Page - Build a Tribute Page

This doesn’t work. Your attribute name should be href not herf, and the CSS file is styles.css not stylesheet.css.

2 Likes