Tribute Page - Build a Tribute Page

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

Your code so farwhat is causing my image not to display in block and not take max-width 100%

<!-- file: index.html -->
<main id="main">
<h1 id="title"> Prof.Wangari Maathai-a true environmentalist</h1>
<div id="img-div">
 <img div="image" src="" alt="picture of prof wangari maathai" width="20%" height="20%">
 <img id="image">prof wangari maathai- nobel prize winner
 <a id="tribute-link" target="_blank" href="">
 <img id="image">prof wangari maathai-a true heroin

 <figcaption id="img-caption">prof wangari maathai holding a tree seedling</figcaption>
  <p id="tribute-info">
    <b>prof wangari Attributes:</b>
    <li>Visionary leader</li>

/* 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/ Safari/537.36

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

Hi there,

The css code you have in the index.html should be moved into styles.css

And you need to create in index.html a head element with a link to your stylesheet there.

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