Tell us what’s happening:
Describe your issue in detail here.
Having issues with my Tribute Page project. Ran tests against my current code and i have passed 8 out of 10. The section of code giving me issues is pasted below. Could someone please TELL ME WHAT IS WRONG WITH IT!!!.
Your code so far
Ngozi okonjo Iweala with President Buhari at the statehouse
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
Rather than sending a snippet of code it’s best if you send the link to your pen so we can see all your code.
Prior to doing that, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue. Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
Make sure to read the failing error message very carefully
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”.
As stated previously, when a test fails read the entire message.
In this case the failing message says
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".
expected null to not equal null
AssertionError: expected null to not equal null
Do you understand what the test is looking for and why it fails?