Tell us what’s happening:
how do we set display to block and max-width to 100% in building a tribute page
Your code so far
<!-- file: index.html -->
<main id="main">
<h1 id="title">Dr.Norman Borlaug</h1>
<figure id="img-div">
<div id="img-caption">The man who saved a billion lives
</div>
<img
id="image", src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg."
alt="Dr. Norman Borlaug seen standind in Mexican field with a group of biologist"
/>
</figure>
<p id="tribute-info">Dr.Norman Borlaug third from left trains biologist in mexico on how to increase yeast yield-part of his life long war on hunger</p>
<a id="tribute-link" target="_blank" href=":wikipedia entry">wikipedia entry</a>
<link rel="stylesheet" href="styles.css></link>
</main>
/* file: styles.css */
image {
height:100%;
max-width: 100%;
allign:center;
display: block;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Challenge Information:
Tribute Page - Build a Tribute Page