Social links profile page using HTML and CSS
Design comparison
Solution retrospective
Speed. I finished coding this in a mere 2 hours and 30 minutes, big improvement from the last challenge. I would definitely plan out my coding path next time.
What challenges did you encounter, and how did you overcome them?Dealing with spacing between the elements since I didn't do a global reset for the spacing and padding. I just tinkered with the margin values till I was satisfied with the results.
What specific areas of your project would you like help with?Definitely dealing with media queries because I would much rather avoid making 7 different breakpoints to account for every device :(.
Community feedback
- @danielmrz-devPosted 6 months ago
Hello there!
Congrats on completing the challenge! ā
Your solution looks excellent!
I have just one suggestion:
- Use
<main>
to wrap the main content instead of<article>
.
š The tag
<article>
would make more sense if the card was part of a bigger website (in certainly would in real world), but here it is all we have on the screen.This tag change does not impact your project visually and makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.
I hope it helps!
Other than that, great job!
Marked as helpful1 - Use
- @Alex-Archer-IPosted 6 months ago
Hi! Good work with using semantic tags!
This is not necessary at all to write media breakpoints for different devices. You can just open dev console switch device toolbar to mobile version and drag the screen to see where your work became broken. And write media query for this specific value.
Also, I prefer this approach for responsive elements.
.container { width: 98%; max-width: 400px; }
In this example .container element will keep it's width on the screens wider than 400px and became responsible on the lesser ones.
Hope it can help. Good luck =)
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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