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-component

@DAEM007

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?

  • This was the very first project I took on front-end mentor. I feel like I could have done a lot more better looking back in retrospect. I was happy I was able to pull it off without having to consult so much materials.

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

  • Yeah, I think one of the things I struggled with then was grouping the items and working with flex box. I was using a lot of hacky solutions plus I had very funny class names.

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

  • I would happily take reviews on this project on where I could do better.

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello @DAEM007!

Your project looks great!

I have a suggestion about your code that might interest you:

šŸ“Œ You can use the <picture> tag when you have different versions of the same image.

Using the <picture> tag will help load the correct image to the user's device, saving bandwidth and improving performance.

Example:

<picture>
    <source media="(max-width: 460px)" srcset="{desktop image path here}">
    <img src="{mobile image path here}" alt="{alternative text here}">
</picture>

I hope this helps!

Other than that, excellent work!

0

@DAEM007

Posted

Thanks a lot @danielmrz-dev . I would definitely try that out.

0
Ata Abatayā€¢ 160

@ataabatay

Posted

I reckon with a little attention to detail you got it all. I can clearly see you used a different color for the price tags as well as a different font which I can only assume is due to paying attention to other areas like how to use the flexbox etc. Overall looks good, with attention to detail can be ace.

0

@DAEM007

Posted

Thanks a lot @ataabatay. You are absolutely right. I would definitely fix that.

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