Submitted over 1 year agoA solution to the Product preview card component challenge
Product preview card component
@Sharky83

Solution retrospective
What are you most proud of, and what would you do differently next time?
using the data-icon to add svg image to button
.btn[data-icon="shopping-cart"]::before { content: ""; background-image: url("images/icon-cart.svg") ; width: 15px; height: 16px; }
What challenges did you encounter, and how did you overcome them?none really.
What specific areas of your project would you like help with?would "grid" have been easier to implement?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Alex'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