Problems in passing tribute page tests

Problems in passing tribute page tests
0

#1

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.


#2

Hello!

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!


#3

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