Tribute Page Project - Cannot get image center test to pass

The image looks centered to me, and I have tried multiple methods suggested by other similar threads, but I just cannot get the test to pass. Any help would be greatly appreciated, thanks.

Project: https://codepen.io/TheMiser/pen/eYypjrM

Hello @eucalyptus welcome to the forum! I’ve seen your website. Great job! The problem that doesn’t let you pass the test is that your img should have parent element in other words it should be nested. Hope this helps. Below is the message from the test. Generally you did everything correct, however there is a small request from the test, which must be done in order to pass the test! Good luck!

The element should be centered within its parent element.

1 Like

Thank you so much, it worked.