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 Design

@FahithKRM

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'm most proud of the clean design and the smooth user experience of the product card. The integration of the "Add to Cart" button with a visual state change was particularly satisfying. Next time, I would focus on optimizing the performance and perhaps adding animations for a more dynamic user experience.

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

One of the main challenges was ensuring that the component was fully responsive and looked good on all screen sizes. I overcame this by using a mobile-first approach and thoroughly testing on various devices. Additionally, integrating the state management for the "Add to Cart" button required careful planning to avoid unnecessary re-renders, which I handled by using memoization and selectors.

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

I would appreciate feedback on the performance optimization of the component, particularly in the context of large-scale applications. Additionally, any suggestions for improving the user experience, especially with regard to accessibility and animations, would be helpful.

Community feedback

aberllin 80

@aberllin

Posted

Hey! It looks great! A couple of things I would suggest you add to this project is to show that the button might be interactive by adding the hover state and cursor: pointer on hover. Additionally, would be beneficial to practice responsiveness.

Best of luck!

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