Design comparison
Solution retrospective
This project was the first time I learned the differences between srcset and src attributes. Along with being my first FEM project, I learned the importance of HTML structure.
What challenges did you encounter, and how did you overcome them?Flexbox. I am six projects in and it still gets me but I learned the usage of containers when using Flexbox.
What specific areas of your project would you like help with?Performance: how to optimize my images to reduce load times, especially for users on slower connections
Community feedback
- @vitvikiPosted about 1 year ago
Hey,
-
To add the cart icon inside the button use img tag inside button tag like so:
<button class="cart_btn"> <img src="./images/icon-cart.svg" alt="cart"> Add to Cart </button>
-
Instructions to add screenshot in README can be found in README-template.md. For some reason I'm unable to write the command here. It's not showing up in the preview.
Hope this helps.
0@Anjie-MFPosted about 1 year agoThank you for the helpful response. I will update my code accordingly @vitviki
0 -
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