Submitted about 2 years agoA solution to the Profile card component challenge
Profile card component solution with HTML and SCSS
sass/scss
@sophie-mc-dev

Solution retrospective
This is my solution for the Profile Card Component challenge.
- To align the profile stats at the bottom of the card I used:
justify-content: space-between;
. However, the middle stat ("Likes") doesn't seem quite on the center of the card, as I would expect it to be. Is there any idea on how I can improve this? Should I not use space-between? - Is my HTML structure okay? I didn't want it to be too complex since it is a simple component.
- Also, because I divided the card into three different sections, I removed the classes for most elements as they can be easily accessed through the parent class. Is this a good practice?
I'm happy to hear any feedback and advice to help me improve!
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on sophie.'s solution.
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