I cannot for the life of me figure out what I am doing wrong , I tried simplifying the code but nothing seemed to help…
https://codepen.io/justboyd/pen/zYoywyY?editors=1100
please help!!
Hi there,
Did you click on the red Tests button?
That will give you a lot of info on what’s wrong. Read the whole error message.
If you click the Tests 6/10 button, it’ll show you the problems.
Just as an example:
Over here we can see that it’s not finding an element with the ID img-div.
Let’s look at your code.
<figure id="image-div">
<img id="image" src="https://i.pinimg.com/originals/24/52/48/2452480b409b02f699b66950754b2195.jpg" alt="Image of Mac Miller"/>
<figcaption id="image-caption">
An Artist's Rendition Of The Late Mac Miller
</figcaption>
</figure>
This has the ID image-div, not img-div.
If you continue to look at the test output, it’ll tell you exactly where you went wrong.
This change alone will take you from 6/10 to 8/10.
Hopefully, you can do the other failures on your own! Don’t be afraid to drop a comment if you get stuck, though.
What a dumb mistake thank you so much I’ve been staring at it for hours and it was so simple.
Got it sorted thank you for the tip 
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
