Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
Replace <div class="container"> with the main tag, <a href="#" class="cartButton">with the button tag
<button>
and <div class="attribution"> with the footer tag to fix the accessibility issues. for more on semantic html visit https://web.dev/learn/html/semantic-html/The icon for the card is available in the images folder is a svg file and in white color so you wont see it when you open it.
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful. HAPPY CODING
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