Tribute Page - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**
   how can i set the display of block cos is not pass

how can i set my max-width to 100% cos is not pass
how can i set my image within its parent
any hint to go about it…thanks

/* file: index.html */

<!doctype html>
<html>
 <head>

<link rel="stylesheet" href="styles.css">
</head>




<main id="main">

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




<div id="img-div">

 <img id="image" height="auto" src=""></img>
 
  

 <figcaption id="img-caption">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.</figcaption>
 </div>

</div>


<p id="tribute-info">The man who saved a billion lives

</p>

<a id="tribute-link" target="_blank" href=""></a>

</div>



/* file: styles.css */








   **Your browser information:**

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

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