Tribute Page - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.
I keep passing all the tests apart from the ones regarding “tribute-link”. Please could someone tell me what I am doing wrong.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<main id="main">
  <div id="title">Dr Norman Borlaug</div>
  <div id="img-div">
  <img id="image">
  <div id="img-caption">The man who saved a billion lives</div>
  <div id="tribute-info">Dr. Norman Borlaug, third from the left, trains biologists in Mexico on how to increase wheat yields - part of his life-long war on hunger.</div>
  <div id="tribute-link"></div>
  <img src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg"> 
<a href="https://en.wikipedia.org/wiki/Norman_Borlaug" target="_blank" id="tribute-link">Wikipedia Entry</a>

 </div>
  </main>   
/* file: styles.css */
img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

you have a div and an anchor both having the same id.
You have to use the id only once (on the anchor)

1 Like

Thank you! very much!!! :slight_smile:

1 Like