SOCIAL LINKS PAGE USING ONLY CSS AND HTML

Solution retrospective
I finally was able to use BEM without any help, I did it in no time and I think it was great :).
What challenges did you encounter, and how did you overcome them?I had some problems with the buttons, I don't know if it is the best way to center it using margin, bu was the only way I found to center it
What specific areas of your project would you like help with?- Buttons
- optimization
Please log in to post a comment
Log in with GitHubCommunity feedback
- @MarziaJalili
Beautifully done! 👑
Some tips?
✅ Actually, it's best that you've used
ul
andli
elements as it represent a list of links.✅ There is a shorthand property for settling the top and bottom margins:
/* Same values */ margin-block: 2.5rem; /* Different values */ margin-block: top bottom;
✅ The same could be applied for
padding
:/* Same values */ padding-block: 30px; /* Different values */ padding-block: top bottom;
Great work overall, keep it up!
😎😎😎
- @sonnystark
It looks good! However, I would use actual buttons instead of using list elements. It's easier to work with and better for the semantics. It also makes it easier to create reusable styling for a button 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