Tribute page - User Story #9

I don’t know how to center the image within the parent element (User Story #9).

Please let me know what I’m doing wrong. Thanks.

Here’s my code so far:

Any help would be greatly appreciated.

I hope you’re all well.

There is something wrong with : container id=“img-div”

Maybe you could have a try with figure tag in HTML and play with margin in CSS

1 Like

That was good advice. Thanx.

1 Like


Wish you good practice time :slight_smile: