Product Preview Card using HTML, CSS, FlexBox, Grid and Media Query
Design comparison
Solution retrospective
I was able to change my use of units to rem and em, especially with margin, padding, font size and more. I am also more at ease with flexbox, and media query.
What challenges did you encounter, and how did you overcome them?To change the mobile layout to the desktop layout was tough but i was able to do it, but there is some adjustments that need to be made so that it can be identical.
What specific areas of your project would you like help with?I still have some difficulty with the margin in the desktop layout. And even with the use of flexbox, it is not aligned properly when the screen gradually decrease. I tried using justify-content, align-items, align-content, align-self without success.
Community feedback
- @MesrouaDjamelPosted 4 months ago
excellent work you've used semantic tags in your solution the css part can be improved by adding padding and margin you can increase the size of the card it is small compared to the design proposed
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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