Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Product preview dolution

@Camoscript

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


If anyone can be a personal mentor to me please contact me : [email protected]

Community feedback

@nelsonuprety1

Posted

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

1

@Camoscript

Posted

@nelsonuprety1 Thank you, I really appreciate it

1

Please log in to post a comment

Log in with GitHub
Discord logo

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