Single price grid component - CSS Grid

Solution retrospective
Hi! I'm studying WebDev for 3 month, and this is my first challenge done. The first project for my portfolio. I am not a pro member, so my solution is far from "pixel perfect", but still I hope that it's good enough.
Please, dont hesitate to comment, as I'm eager to find friends in WebDev community and I'm ready to hear any advice or critic=)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MohamedBehhar
hello Anna, I see that your card isn't in the center because you choose display flex for the body which contains "the card" and the attribution on the bottom. I think you should add " flex-direction : column" that's will make both the card and the attribution centered. Otherwise, I think that you should start using variables for the colors and the font at the top of your CSS file, it will help you a lot.
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