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