Responsive product-preview-card with media query

Solution retrospective
All comments and hints on how to improve this project is highly appreciate. Thanks
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hassiai
To center .card on the page using grid, replace the height in the body with
min-height: 100vh
.Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here and here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful - @Yabeshyj
hey @500288 your solution is good :)
Here some Tips to avoid warnings ⚠️
1)use at least one heading<h1> tag in your html file 2)wrap all the content in <main> tag so u can't get landmark warnings 3)use alt attributes in img tags As you can edit the code in github as well and save it then tap generate newreport in your solution to refresh as you edited :)
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