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

@BluffSet7340

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?

Proud of being able to match the solution as closely as possible. I also started using SCSS which was nice to use.

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

Challenges encountered was having to use media queries and and tags to switch between images for mobile and desktop. A YouTube tutorial by Kevin Powell helped me immensely.

Another issue was the fact that on desktop view, the content took more width than the image so I had to force both image and the content to take up a width of 300px. The image wasn't filling up the tag so I had to force the height to be 450px, which seemed to fix the issue.

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

I'm not too happy with the way I dealt with my second issue, especially in setting the height of the image. If time permits, please look through my code and suggest whatever fixes I can implement rather than just explicitly setting the height of the image.

Community feedback

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