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 Card using HTML, CSS, FlexBox, Grid and Media Query

Mehrine 120

@DarkMoonLit

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


What are you most proud of, and what would you do differently next time?

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

@MesrouaDjamel

Posted

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 helpful

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