Product preview dolution

Solution retrospective
If anyone can be a personal mentor to me please contact me : etobi1930@gmail.com
Please log in to post a comment
Log in with GitHubCommunity feedback
- @nelsonuprety1
Hello tobi, nice work on the project. I would like to share some of my insights regarding the code.
You can use the flex-direction property to set how flex items are placed in the flex container. Check this link: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction
And you can use
justify-content: center; align-items: center;
to center your content And please try to reduce the size of the whole container by adjusting its width and height.I hope this helps.
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord