Tribute page code not passing

can you please check my code it is not passing and I am not sure what I did wrong?

This is what I am getting wrong… * Failed:Your img element should have a display of block.

  • Failed:Your #image should have a max-width of 100%. a tribute page

  <html lang=en>
<meta charset="UFT-8">
<meta name="viewport"                           content="width=device-width, initial-scale=.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<main id="main">
  <title id="title"><h1>Backstreet Boys</h></title>
<div id="img-div"><img id="image" src=""   alt="Backstreet Boys">
<div id="img-caption">Backstreet Boys at a photoshoot.</div>

  <p id="tribute-info">Bio</p>

    <p>Backstreet Boys (often abbreviated as BSB)are an American vocal group consisting of Nick Carter, Howie Dorough, AJ McLean, and cousins Brian Littrell and Kevin Richardson. The group was formed in 1993 in Orlando, Florida.</p>

<p>The group rose to fame with their debut international album, Backstreet Boys (1996). In the following year, they released their second international album Backstreet's Back (1997) along with their self-titled U.S. debut album, Backstreet Boys (1997), which continued the group's success worldwide. They rose to superstardom with their third studio album Millennium (1999) and its follow-up album, Black & Blue (2000). They also released a greatest hits album, The Hits - Chapter One (2001), with a new single, "Drowning". After a two-year hiatus, they regrouped and released a comeback album Never Gone (2005). After the conclusion of the Never Gone Tour in 2006, Richardson left the group to pursue other interests. The group then released two albums as a quartet: Unbreakable (2007) and This Is Us (2009).</p>

<p>Richardson permanently rejoined the group in 2012. In the following year, they celebrated their 20th anniversary and released their first independent album, In a World Like This. Their follow-up album DNA (2019) debuted at number one, more than two decades after the group formed, and 19 years after they last topped in 2000. They also became the first boy band to top the U.S. album charts in three different decades.</p>

<p>The Backstreet Boys have sold over 100 million records worldwide, making them the best-selling boy band of all time, and one of the world's best-selling music artists. They are the first group since Led Zeppelin to have their first ten albums reach the top 10 on the Billboard 200, and the only boy band to do so. The albums Backstreet Boys and Millennium were both certified diamond by the Recording Industry Association of America (RIAA), making them one of the few bands to have multiple diamond albums.</p>

<p>The group received a star on the Hollywood Walk of Fame on April 22, 2013. They also released their first documentary movie, titled Backstreet Boys: Show 'Em What You're Made Of in January 2015. In March 2017, the group began a residency in Las Vegas that lasted two years, titled Backstreet Boys: Larger Than Life.</p></div>

<div> For more information, check out <a id="tribute-link" href="" target="_blank">Backstreet Boys</a> on Wikipedia</div>



height: auto;




We can’t see your code from the link alone. Please post your actual code. Thanks

1 Like

I tried to post the code but I don’t think I did it correct.

you need to wrap your code with three ` (these are backticks and not quotes, you’ll find them above your tab key ) at the start and end of your code.

1 Like