Needing help with Tribute page what am i doing wrong?

I have 3 things I cant figure out what I am doing wrong. They are in the code possibly i guess in the wrong place or inputted in the wrong manner. I am working in HTML.

  1. Within the “img-div” element, I should see either a or
    element with a corresponding id=“img-caption” that contains textual content describing the image shown in “img-div”.
  2. I should see an element with a corresponding id=“tribute-info”, which contains textual content describing the subject of the tribute page.
  3. I should see an element with a corresponding id=“tribute-link”, which links to an outside site that contains additional information about the subject of the tribute page. HINT: You must give your element an attribute of target and set it to “_blank” in order for your link to open in a new tab (i.e. target="_blank").
<Style>  #title{ text-align: center;}
   #nrb {font-size: 16px;} 
   #image {
width: 100%;
height: auto;
max-width: 625px;
margin-left: auto;
margin-right: auto;
display: block;
}; 
   #SeanConnery{style:"color:#EE755B";}
</style>


<h1 id="img-SeanConnery"><center><em>Sir</em> Thomas Sean Connery</h1></center>
<h2 id="title"><center>August 25, 1930-October 31, 2020</h2></center>
<main id="main">
  <img-div id="img-div"><center> <div>Sean Connery</div><img src="https://www.usmagazine.com/wp-content/uploads/2020/10/Sean-Connery-Dead-James-Bond-Actor-Dies-at-90-Feature.jpg?quality=86&strip=all" id="image" </img></center></img-div>

<p id="tribute-info"><center>Sir Thomas Sean Connery better known as Sean Connery was a scottish Actor best known for his long performance as James Bond. Sean Connery was the first ever Actor to portray the British character James Bond, starring in seven Bond films between 1962 and 1983. Sean was survived by Wife, Micheline Roquebrune(French Painter); and Son Jason Connery(British Actor).</p></center> 
<center><h3>Film</h3></center>
<h4><center>1954<a href="https://en.wikipedia.org/wiki/Lilacs_in_the_Spring" id="link"> -Lilacs in the Spring</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/No_Road_Back" id="tribute-link"> -No Road Back</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/Hell_Drivers_(film)" id="tribute-link"> -Hell Drivers</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/Action_of_the_Tiger" id="tribute-link"> -Action of the Tiger</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/Time_Lock" id="tribute-link"> -Time Lock</a></center></h4>

<h4><center>1958<a href="https://en.wikipedia.org/wiki/Another_Time,_Another_Place_(1958_film)" id="tribute-link"> -Another Time, Another Place</a></center></h4>

<h4><center>1958<a href="https://en.wikipedia.org/wiki/Darby_O%27Gill_and_the_Little_People" id="tribute-link"> -Darby O'Gill and the Little People</a></center></h4>

<h4><center>1958<a href="https://en.wikipedia.org/wiki/Tarzan%27s_Greatest_Adventure" id="tribute-link"> -Tarzan's Greatest Adventure</a></center></h4>

<h4><center>1961<a href="https://en.wikipedia.org/wiki/On_the_Fiddle" id="tribute-link"> -On the Fiddle</a></center></h4>

<h4><center>1961<a href="https://en.wikipedia.org/wiki/The_Frightened_City" id="tribute-link"> -The Frightened City</a></center></h4>

<h4><center>1962<a href="https://en.wikipedia.org/wiki/The_Longest_Day_(film)" id="tribute-link"> -The Longest Day</a></center></h4>

<h4><center>1962<a href="https://en.wikipedia.org/wiki/Dr._No_(film)" id="tribute-link"> -Dr. No </a></center></h4>

<h4><center>1963<a href="https://en.wikipedia.org/wiki/From_Russia_with_Love_(film)" id="tribute-link"> -	From Russia with Love</a></center></h4>

<h4><center>1964<a href="https://en.wikipedia.org/wiki/Goldfinger_(film)" id="tribute-link"> -Goldfinger</a></center></h4>

<h4><center>1964<a href="https://en.wikipedia.org/wiki/Marnie_(film)" id="tribute-link"> -Marnie</a></center></h4>

<h4><center>1964<a href="https://en.wikipedia.org/wiki/Woman_of_Straw" id="tribute-link"> -Woman of Straw</a></center></h4>

<h4><center>1965<a href="https://en.wikipedia.org/wiki/The_Hill_(film)" id="tribute-link"> -	The Hill</a></center></h4>

<h4><center>1965<a href="https://en.wikipedia.org/wiki/Thunderball_(film)" id="tribute-link"> -Thunderball</a></center></h4>

<h4><center>1966<a href="https://en.wikipedia.org/wiki/A_Fine_Madness" id="tribute-link"> -A Fine Madness</a></center></h4>

<h4><center>1966<a href="https://en.wikipedia.org/wiki/Un_monde_nouveau" id="tribute-link"> -Un monde nouveau</a></center></h4>

<h4><center>1967<a href="https://en.wikipedia.org/wiki/You_Only_Live_Twice_(film)" id="tribute-link"> -You Only Live Twice</a></center></h4>

<h4><center>1967<a href="https://en.wikipedia.org/wiki/The_Bowler_and_the_Bunnet" id="tribute-link"> -The Bowler and the Bunnet</a></center></h4>

<h4><center>1968<a href="https://en.wikipedia.org/wiki/Shalako_(film)" id="tribute-link"> -Shalako</a></center></h4>

<h4><center>1969<a href="https://en.wikipedia.org/wiki/The_Red_Tent_(film)" id="tribute-link"> -The Red Tent</a></center></h4>

<h4><center>1970<a href="https://en.wikipedia.org/wiki/The_Molly_Maguires_(film)" id="tribute-link"> -The Molly Maguires</a></center></h4>

<h4><center>1971<a href="https://en.wikipedia.org/wiki/The_Anderson_Tapes" id="tribute-link"> -	The Anderson Tapes</a></center></h4>

<h4><center>1971<a href="https://en.wikipedia.org/wiki/Diamonds_Are_Forever_(film)" id="tribute-link"> -Diamonds Are Forever</a></center></h4>

<h4><center>1972-España campo de golf</center></h4>

<h4><center>1972<a href="https://en.wikipedia.org/wiki/The_Offence" id="tribute-link"> -The Offence</a></center></h4>

<h4><center>1974<a href="https://en.wikipedia.org/wiki/Zardoz" id="tribute-link"> -Zardoz</a></center></h4>

<h4><center>1974<a href="https://en.wikipedia.org/wiki/Murder_on_the_Orient_Express_(1974_film)" id="tribute-link"> -Murder on the Orient Express</a></center></h4>

<h4><center>1974<a href="https://en.wikipedia.org/wiki/Ransom_(1974_film)" id="tribute-link"> -Ransom</a></center></h4>

<h4><center>1975-The Dream Factory</center></h4>

<h4><center>1975<a href="https://en.wikipedia.org/wiki/The_Wind_and_the_Lion" id="tribute-link"> -The Wind and the Lion</a></center></h4>

<h4><center>1975<a href="https://en.wikipedia.org/wiki/The_Man_Who_Would_Be_King_(film)" id="tribute-link"> -The Man Who Would Be King</a></center></h4>

<h4><center>1976<a href="https://en.wikipedia.org/wiki/Robin_and_Marian" id="tribute-link"> -Robin and Marian</a></center></h4>

<h4><center>1976<a href="https://en.wikipedia.org/wiki/The_Next_Man" id="tribute-link"> -The Next Man</a></center></h4>

<h4><center>1977<a href="https://en.wikipedia.org/wiki/A_Bridge_Too_Far_(film)" id="tribute-link"> -A Bridge Too Far</a></center></h4>

<h4><center>1979<a href="https://en.wikipedia.org/wiki/The_First_Great_Train_Robbery" id="tribute-link"> -The First Great Train Robbery</a></center></h4>

<h4><center>1979<a href="https://en.wikipedia.org/wiki/Meteor_(film)" id="tribute-link"> -Meteor</a></center></h4>

<h4><center>1979<a href="https://en.wikipedia.org/wiki/Cuba_(film)" id="tribute-link"> -Cuba</a></center></h4>

<h4><center>1981<a href="https://en.wikipedia.org/wiki/Outland_(film)" id="tribute-link"> -Outland</a></center></h4>

<h4><center>1981<a href="https://en.wikipedia.org/wiki/Time_Bandits" id="tribute-link"> -Time Bandits</a></center></h4>

<h4><center>1982<a href="https://en.wikipedia.org/wiki/G%27ol%C3%A9!" id="tribute-link"> -G'olé!</a></center></h4>

<h4><center>1982<a href="https://en.wikipedia.org/wiki/Five_Days_One_Summer" id="tribute-link"> -Five Days One Summer</a></center></h4>

<h4><center>1982<a href="https://en.wikipedia.org/wiki/Wrong_Is_Right" id="tribute-link"> -Wrong Is Right</a></center></h4>

<h4><center>1983-Sean Connery's Edinburgh</center></h4>

<h4><center>1983<a href="https://en.wikipedia.org/wiki/Never_Say_Never_Again" id="tribute-link"> -Never Say Never Again</a></center></h4>

<h4><center>1984<a href="https://en.wikipedia.org/wiki/Sword_of_the_Valiant" id="tribute-link"> -Sword of the Valiant</a></center></h4>

<h4><center>1986<a href="https://en.wikipedia.org/wiki/Sean_Connery_filmography" id="tribute-link"> -Highlander</a></center></h4>

<h4><center>1986<a href="https://en.wikipedia.org/wiki/The_Name_of_the_Rose_(film)" id="tribute-link"> -The Name of the Rose</a></center></h4>

<h4><center>1987<a href="https://en.wikipedia.org/wiki/The_Untouchables_(film)" id="tribute-link"> -The Untouchables</a></center></h4>

<h4><center>1988<a href="https://en.wikipedia.org/wiki/The_Presidio_(film)" id="tribute-link"> -The Presidio</a></center></h4>

<h4><center>1988<a href="https://en.wikipedia.org/wiki/Memories_of_Me" id="tribute-link"> -Memories of Me</a></center></h4>

<h4><center>1989<a href="https://en.wikipedia.org/wiki/Indiana_Jones_and_the_Last_Crusade" id="tribute-link"> -Indiana Jones and the Last Crusade</a></center></h4>

<h4><center>1989<a href="https://en.wikipedia.org/wiki/Family_Business_(1989_film)" id="tribute-link"> -Family Business</a></center></h4>

<h4><center>1990<a href="https://en.wikipedia.org/wiki/The_Hunt_for_Red_October_(film)" id="tribute-link"> -The Hunt for Red October</a></center></h4>

<h4><center>1990<a href="https://en.wikipedia.org/wiki/The_Russia_House_(film)" id="tribute-link"> -The Russia House</a></center></h4>

<h4><center>1991<a href="https://en.wikipedia.org/wiki/Highlander_II:_The_Quickening" id="tribute-link"> -Highlander II: The Quickening</a></center></h4>

<h4><center>1991<a href="https://en.wikipedia.org/wiki/Robin_Hood:_Prince_of_Thieves" id="tribute-link"> -Robin Hood: Prince of Thieves</a></center></h4>

<h4><center>1992<a href="https://en.wikipedia.org/wiki/Medicine_Man_(film)" id="tribute-link"> -	Medicine Man</a></center></h4>

<h4><center>1993<a href="https://en.wikipedia.org/wiki/Rising_Sun_(film)" id="tribute-link"> -Rising Sun</a></center></h4>

<h4><center>1994<a href="https://en.wikipedia.org/wiki/A_Good_Man_in_Africa" id="tribute-link"> -A Good Man in Africa</a></center></h4>

<h4><center>1995<a href="https://en.wikipedia.org/wiki/Just_Cause_(film)" id="tribute-link"> -Just Cause</a></center></h4>

<h4><center>1995<a href="https://en.wikipedia.org/wiki/First_Knight" id="tribute-link"> -First Knight</a></center></h4>

<h4><center>1996<a href="https://en.wikipedia.org/wiki/Dragonheart" id="tribute-link"> -Dragonheart</a></center></h4>

<h4><center>1996<a href="https://en.wikipedia.org/wiki/The_Rock_(film)" id="tribute-link"> -The Rock</a></center></h4>

<h4><center>1998<a href="https://en.wikipedia.org/wiki/The_Avengers_(1998_film)" id="tribute-link"> -The Avengers</a></center></h4>

<h4><center>1998<a href="https://en.wikipedia.org/wiki/Playing_by_Heart" id="tribute-link"> -Playing by Heart</a></center></h4>

<h4><center>1999<a href="https://en.wikipedia.org/wiki/Entrapment_(film)" id="tribute-link"> -Entrapment</a></center></h4>

<h4><center>2000<a href="https://en.wikipedia.org/wiki/Finding_Forrester" id="tribute-link"> -Finding Forrester</a></center></h4>

<h4><center>2003<a href="https://en.wikipedia.org/wiki/The_League_of_Extraordinary_Gentlemen_(film)" id="tribute-link"> -	The League of Extraordinary Gentlemen</a></center></h4>

<h4><center>2012<a href="https://en.wikipedia.org/wiki/Sir_Billi" id="tribute-link"> -Sir Billi</a></center></h4>

<h4><center>2012-Ever to Excel</center></h4>

<center><h3>Television</h3></center>

<h4><center>1956<a href="https://en.wikipedia.org/wiki/Dixon_of_Dock_Green" id="tribute-link"> -Dixon of Dock Green</a></center></h4>

<h4><center>1956-The Condemned</center></h4>

<h4><center>1956<a href="https://en.wikipedia.org/wiki/Sailor_of_Fortune" id="tribute-link"> -Sailor of Fortune</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/The_Jack_Benny_Program" id="tribute-link"> -The Jack Benny Program</a></center></h4>

<h4><center>1957-Blood Money</center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/Sunday_Night_Theatre" id="tribute-link"> -BBC Sunday Night Theatre</a></center></h4>

<h4><center>1957<a href="https://en.wikipedia.org/wiki/Television_Playhouse" id="tribute-link"> -ITV Television Playhouse</a></center></h4>

<h4><center>1958-Women in Love</a></center></h4>

<h4><center>1958<a href="https://en.wikipedia.org/wiki/Armchair_Theatre" id="tribute-link"> -Armchair Theatre</a></center></h4>

<h4><center>1959<a href="https://en.wikipedia.org/wiki/Walt_Disney_anthology_television_series#The_Magical_World_of_Disney_(1988%E2%80%931990)" id="link"> -The Magical World of Disney</a></center></h4>

<h4><center>1959-1960<a href="https://en.wikipedia.org/wiki/ITV_Play_of_the_Week" id="tribute-link"> -	ITV Play of the Week</a></center></h4>

<h4><center>1960<a href="https://en.wikipedia.org/wiki/Sunday_Night_Theatre" id="tribute-link"> -BBC Sunday Night Theatre</a></center></h4>

<h4><center>1960<a href="https://en.wikipedia.org/wiki/An_Age_of_Kings" id="tribute-link"> -An Age of Kings</a></center></h4>

<h4><center>1960-Without the Grail</center></h4>

<h4><center>1961<a href="https://en.wikipedia.org/wiki/Adventure_Story_(1961_TV_play)" id="tribute-link"> -Adventure Story</a></center></h4>

<h4><center>1961-Anna Karenina</center></h4>

<h4><center>1961<a href="https://en.wikipedia.org/wiki/Macbeth_(1961_film)" id="tribute-link"> -Macbeth</a></center></h4>

<h4><center>1969-Male of the Species</center></h4>

<h4><center>1969<a href="https://en.wikipedia.org/wiki/Sunday_Night_Theatre" id="tribute-link"> -BBC Sunday Night Theatre</a></center></h4>

<h4><center>2003-Freedom: A History of US</center></h4>

<center><h3>Theatre</h3></center>

<h4><center>1998<a href="https://en.wikipedia.org/wiki/Art_(play)" id="tribute-link"> -Art</a></center></h4>

<center><h3>Video games</h3></center>

<h4><center>2005<a href="https://en.wikipedia.org/wiki/From_Russia_with_Love_(video_game)" id="tribute-link"> -James Bond 007: From Russia with Love</a></center></h4>
</main>
<footer><a href="https://en.wikipedia.org/wiki/Sean_Connery_filmography">Refrence1</a>
  <a href="https://www.usmagazine.com/celebrity-news/pictures/celebrity-deaths-in-2020-stars-weve-lost/sean-connery/">Refrence 2</a></footer>```

Hi @wraffield22. Hope this isn’t information overload. First off,

  • Run your HTML code through the W3C validator.
    • There are HTML coding errors you should be aware of and address.
    • it looks like you’re using codepen you can ignore the first warning and first error.

One of the first coding errors is <img-div>. This is not a valid HTML5 tag/element
Also, an id must be unique within the document. That means you can only use something like id="tribute-link" once. (Sorry, lost count of how many times you used it)

Cleaning up your HTML code will help you resolve some of the issues. Come back if you need additional help.

O wow thanks had no I’d you could only use an ID name once! I will fix that as for the the img-div element if its requiring a img-div element how exactly do I fix that? I can remove the img-div element and turn it into a img element but the how and where do I correctly name in image in the element. I’ve got the image name to display but it’s not checking it off. Sorry so many question I’ve literally start 5 days ago with zero experience. I appreciate your help!!!

This was briefly mentioned in this lesson

User story 3 says; I should see a div element with a corresponding id="img-div"
User story 4 says; Within the img-div element, I should see an img element with a corresponding id="image"
So this is just nesting. Like so;

<div id="img-div">
  <img id="image"> /* will have `src` and `alt` attributes */
</div>

Maybe this will help with understanding terms;

HTML tags vs elements vs attributes

HTML tags

Tags are used to mark up the start and end of an HTML element. The following are paragraph tags.
<p></p>

HTML elements

An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>

HTML attributes

An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element’s start tag. An element’s start tag may contain any number of space separated attribute/value pairs.
The most popular misuse of the term “tag” is referring to alt attributes as “alt tags”. There is no such thing in HTML. Alt is an attribute, not a tag.
<img src="foobar.gif" alt="A foo can be balanced on a bar by placing its fubar on the bar's foobar.">

1 Like