Tell us what’s happening:
I believe I have the project completed, but when I hit the run tests (for tribute page, in the test suite), I get the following 5 options as incomplete:
- I should see either a or element with corresponding id=“img-div”.
- Within the “img-div” element, I should see an
element with a corresponding id=“image”.
- 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”.
- I should see an element with a corresponding id=“tribute-info”, which contains textual content describing the subject of the tribute page.
- I should see an <a 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”).
Could someone please help me figure out what I am doing wrong? I don’t know what I am doing wrong. I have not included the CSS style sheet here, as I did not think it was relevant for the problem at hand.
Your code so far
https://codepen.io/kappaa/pen/KKVygbp
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0.
Challenge: Build a Tribute Page
Link to the challenge: