Problems in passing tribute page tests

I had worked with HTML & CSS long time back and wanted to check and knowledge. I made the page and wanted to know why the tests aren’t passing. I have passed 8/10. Kindly look into it and help.
Thank you in advance.


You can see a specification of why the tests are failing by clicking on the red button after running the tests.

The errors you are getting are these:

Within the “img-div” element, I should see an element with a corresponding id=“img-caption” that contains textual content describing the image shown in “img-div”.

The <img> element should be centered within its parent element.

Try fixing those!
Good luck!

I didn’t knew that we can see why the tests are failing.
Thank you.