Tribute Page - Build a Tribute Page

i have code tested and its still telling me this:
You should have an a element with an id of tribute-link.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
<main id="main">
  <title id="title">Tribute of Dr. Norman Borlaug</title>
  <div id="img-div"> <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg"> <div id="img-caption">Tribute of Dr. Norman Borlaug</div></img></div>
  <div id="tribute-info">tribute<div>
  <link <a id="tribute-link" target="_blank" rel="stylesheet" href="styles.css" ></a>
  <img id="image"></img>
  <main>
/* file: styles.css */
img{display:block;
max-width:100%;
height:auto;
}

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

You are mixing up "link"s here. A link element is used to include other files, such as a stylesheet. An anchor element (using a tags) is used to create a hyperlink to another resource.

1 Like

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