
Design comparison
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hassiai
Replace <div class="container"> with the main tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center .product-cardon the page using flexbox, replace the height in .container with min-height: 100vh.
There is no need to give .product-card a height value rather give .product-info a padding value for all the sides, this will replace the height of .product-card and the its a responsive replacement.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
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