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 component

Obare 210

@simplyObare

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?

Am proud I completed the challenge

What challenges did you encounter, and how did you overcome them?

I had an issue with the product image, I couldn't make it responsive. Initially I had it as an image in the html, but then I changed it to be a background-image in CSS. Which made it easier to make it responsive.

What specific areas of your project would you like help with?

No specific areas in particular, an feedback is welcomed

Community feedback

@WaelBenseghir

Posted

Why did you use Grid and not Flexbox ? also why did not use max-width: 100% for the container.

that's what i did and I'm not saying you did it wrong, just out of curiosity.

0

Obare 210

@simplyObare

Posted

@WaelBenseghir I used Grid since I felt it was just easier, also it divided my container in equal halves; with one side having the product image and the other side information about the product. On the max-width of the container, I opted for a fixed width of 600px just for preference.

0

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