Help me with a Tribute Page Trouble

Tell us what’s happening:
I couldn’t position the responsive image to center.
Please Help!!

Your code so far
https://codepen.io/abrax_abhie/pen/WNrvRPv?editors=1100

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/83.0.4103.61 Chrome/83.0.4103.61 Safari/537.36.

Challenge: Build a Tribute Page

Link to the challenge:

Hello and welcome to the FCC community~!

I would recommend you look in to the margin property, as I was able to centre your image using that.

On another note, please ensure you have the test suite on your project page, as it needs to be present with all tests passing when you submit. When I looked at your page, the script was not present for me. You can add <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> to the bottom of your HTML code to do this. :upside_down_face:

1 Like

I have been struck at it for some time, but now it’s fixed.
Thank you for the help
and the another note is also made right. :grin:

1 Like

Nicely done~! Glad you were able to fix it! :smiley:

1 Like