Build a Tribute Page- having two errors - Content #5 and Layout #1

Chadwick Boseman

The True Black King

Chadwick Boseman at a comic conference speaking to anudience

Here is the timeline of our King :

  • 1976 - Born in Anderson, South Carolina.
  • 1995 - Graduates from T.L. Hanna High School
  • 2000 - Graduates with a Bachelor of Fine Arts in directing
  • 2002 - Wins AUDELCO award
  • 2006 - Nominated for Joseph Jefferson Award for New York
  • 2007 - Produces Blood Over a Broken Pawn
  • 2008 - Moves to L.A to pursue his acting career
  • 2013 - Portrays Jockie Robinson in film 42 and stars in The Kill Hole
  • 2016 - Diagnosed with stage III colon cancer
  • 2017 - Plays Thurgood Marshall in Marshall
  • 2018 - Included in Time 100 as one of the most influential people
  • 2016 - 1019 - rises to international fame after playing Black Panther (or T'challa) in Marvel Cinematic Universe and Black Panther which ends up becoming one of the highest grossing film of 2018
      </li>
    <li>
    <strong>2019</strong>- Stars in 21 Bridges and Netflix's war drama <i>Da 5 Bloods</i>
      </li>
    
  • 2020 - Dies at age 43 from complications related to colon cancer
  • <blockquote class="twitter-tweet tw-align-center"><p lang="en" dir="ltr">Chadwick came to the White House to work with kids when he was playing Jackie Robinson. You could tell right away that he was blessed. To be young, gifted, and Black; to use that power to give them heroes to look up to; to do it all while in pain – what a use of his years. <a href="https://t.co/KazXV1e7l7">https://t.co/KazXV1e7l7</a></p>&mdash; Barack Obama (@BarackObama) <a href="https://twitter.com/BarackObama/status/1299718379440398337?ref_src=twsrc%5Etfw">August 29, 2020</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
    
    <h4>If you have time, feel free to read more about the King on hid <a id="tribute-link" href="https://en.wikipedia.org/wiki/Chadwick_Boseman" target="_blank">
      Wikipedia entry
    </a>
    </section>
    

    main{
    text-align: center;
    }

    #image{
    max-width:50%;
    height:auto;
    }

    It’s easier to devug if you post a link to your project and writr what help do you need. But if you want to post your code…
    When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

    You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

    See this post to find the backtick on your keyboard.
    Note: Backticks (`) are not single quotes (’).

    As stated, it’s easier to help you debug if you post the link to your code.

    Also, when the tests fail you can click the red button to see which test(s) are failing and text to help you correct the issue.
    Read the entire failing message, not just the first line.

    Here is a link to my code

    Hey @niyonlion!

    You are missing an = sign in the figcaption id.
    For the image you have to have it centered and set the display property to block. Images are by default inline elements so you will need to change it to block.

    /*to center an image*/
    #image{
      margin:0 auto; /*this is margin shorthand property*/
    /*the 0 is for margin-top & margin-bottom*/
    /*the auto is for margin-right & margin-left*/
    }
    

    Hope that helps!

    1 Like

    Thank you very much! that helped

    1 Like