Design comparison
SolutionDesign
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?
Community feedback
- @Jackson-zablon15Posted 3 months ago
Congrats on completing your challenge, it is very good. You could also use margin-top to align some elements like in the design. Wishing you nice coding.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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