Blog Preview Card Challenge by Sass

Solution retrospective
I've just completed a front-end coding challenge from @frontendmentor! 🎉
You can see my solution here: https://www.frontendmentor.io/solutions/blog-preview-card-challenge-by-sass-WDgxOYxpoM
Any suggestions on how I can improve are welcome!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @silkcoder
Congrats for completing the task.
I noticed one thing, you applied flex properties to the HTML tag to center the 'card' class element.I think you should apply it to the body tag rather than applying to the HTML tag.
It's generally considered a good practice to put styles in the <body> element
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