Product card using HTML and CSS

Solution retrospective
I think I got faster in writing html and css. Next time I would like to try and download fonts instead of importing them.
What challenges did you encounter, and how did you overcome them?I had a problem with sizing some parts of the card component because of the picture element. The solution was to apply all properties to the img element inside of it.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @SortJakke
For accessibility reasons, it is recommended to create more semantic code by using the <main>, <section>, and <figure> tags in this case.
Marked as helpful
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