Can someone help me here. i don’t know what’s wrong with this code.
https://codepen.io/fatunbi-david-kayode/pen/RzYjmw
What’s wrong with the code?
You´re almost done. According to tests, you are still missing:
-
Within the “img-div” element, I should see either a figcaption or div 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-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.
If you have a code validator use it
Right now you don’t have a p
element there, because your Img element is missing the closing >
<div id="img-div">
<img id="image" src="" <p id="img-caption">Ernest Rutherford Quote</p>
</div>
Thanks guys. you are the best.
I fixed it with your help.
is there a way i can import an image to my code online. i have tried using the image url in my “src” but it didnt work.