Tribute page. Your `#img-caption` should be a descendant of `#img-div` . What should I do

<link rel="stylesheet" href="styles.css">
<main id="main">

 <title id="title">Dr. Norman Borlaug</title> 

 <figure id="img-div">

   <img id="image" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" alt="Dr. Norman Borlaug seen standing in Mexican wheat field with a group of biologists"> 

 </figure>

 <figcaption id="img-caption"></figcaption>

</main>

The figcaption element should be inside the figure element.


Edit: A descendant is just a way of saying the element must be a child of the element.

Your `#img-caption` should be a descendant of `#img-div` .

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