Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 10 months ago

Product Preview with Cart Animations and Background Styling

animation, node, sass/scss, accessibility
P
Gabe•320
@gabei
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

I am happy with the slight design changes that I made. The background has a little bit more texture now without being overwhelming, and the Add to cart button has a little bit of animation to spice it up. I think I might simplify animations in the future. I have a feeling that my approach is too cumbersome - but I need to research this a little more.

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

I had a little bit of difficulty determining how to use the <picture> element at first. Once I figured it out I fell in love with how simple it is to responsively swap out images.

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

Any feedback is great. If anybody has insight into css animations or the logic that controls them in the JS, I'd love some resources.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Gabe's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License