Tribute Page - Build a Tribute Page

Tell us what’s happening: i keep failing on the test which says “You should have an a element with an id of tribute-link” Is this a test issue?

Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="styles.css">
  <meta charset="utf-8">
  <title> Dedication Page</title>
    </head>
    <body>
      <main id="main">
      <h1 id="title">Rubick</h1>
      <p> The Grand Magus</p>
      <div id="img-div">
        <img id="image" src="https://static.wikia.nocookie.net/dota2_gamepedia/images/3/39/Rubick_Lore.png/revision/latest?cb=20210730001504" alt="rubick dota 2 hero">
        <div id="img-caption">
        <caption>Rubick holding his staff</caption>
        <div id="tribute-info">
        <h2>Here are info's about rubick:</h2>
        <ul>
          <li>Unknown Origin: Rubick's exact origins are shrouded in mystery. He is known as the Grand Magus, a powerful magician renowned for his mastery over the arcane arts.
            <li>Birth of Dota 2 Universe: Rubick exists within the world of Dota 2, a universe where powerful beings called heroes battle for supremacy.
          </ul>
          </div>
          <div id="tribute-link">
  <h3>To know more about Rubick, visit <a id="tribute-link"  target="_blank" href="https://dota2.fandom.com/wiki/Rubick/Lore">Dota 2 site.</a></h3>
</div>



</main>
      </body>
      </html>
/* file: styles.css */
#image{
  display:block;
  max-width:100%;
  height:auto;
  align-items:center;
}

Your browser information:

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

Challenge Information:

Tribute Page - Build a Tribute Page

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

You need a anchor element with the id tribute-link, which you didn’t have.
@zhizorsfabros

Hey and welcome to are comunity try moving your <a></a> outside of your <h3></h3> see if that works.

it still doesn’t pass. i also tried to use section element. still doesn’t work

Hi @zhizorsfabros

You have two id attributes with the some value.
Try removing the id attribute from the div opening tag.

Happy coding

2 Likes

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