Social Media Links

Solution retrospective
I’m most proud that I made the card work on a small phone screen. At first the card had a fixed width, so it touched the edges of the screen. I changed the width to a percentage and used a percentage for the space around the buttons too. Next time I want to read the whole design first and check the mobile version early, so I don’t have to fix spacing at the end.
What challenges did you encounter, and how did you overcome them?My first problem was the big gap between the name and the location. I had set the top margin to zero, but the gap was still there. I used DevTools to look at the orange and green boxes and found that the heading had a default bottom margin from the browser. The padding I added was also part of the gap. Using margin-block: 0 fixed it.
What specific areas of your project would you like help with?I would like help with media queries. In the mobile design some spaces are smaller than on desktop, and I haven’t learned how to change them for small screens yet. I would also like feedback on my spacing, on whether my class names are clear, and on how to add focus styles so the links are easy to use with a keyboard.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Eirini Pechlivanidou’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