Design comparison
Solution retrospective
Used flexbox for my buttons and really reduced the amount of code there is in my project! I also used my own socials, so it is smaller than what was intended
What challenges did you encounter, and how did you overcome them?Using flexbox properly I slowly was playing around with flexbox and seeing how it affected the items around it.
What specific areas of your project would you like help with?Did I use the buttons and anchor properly? or is it the other way around? Is implementing the font the way that I did decent or is there a better and simpler way?
Community feedback
- @danielmrz-devPosted 6 months ago
Hello there!
Congrats on completing the challenge! ā
Your solution looks great!
š It's recommended to use semantic HTML elements like
<ul>
and<li>
for creating lists. This ensures that your code is more accessible, maintainable, and semantically meaningful.Here's and example on how you can refactor your code:
After Refactoring
<ul class="list-container"> <li><a href="#">Github</a></li> <li><a href="#">Frontend Mentor</a></li> <li><a href="#">LinkedIn</a></li> ... </ul>
By using
<ul>
and<li>
, you convey the structure of your content more clearly, making it easier for screen readers and search engines to understand. Additionally, it aligns with best practices for HTML semantics.I hope you find this helpful!
Keep up the excellent work!
0 - @AshongAbdallah06Posted 6 months ago
Yes, the layout for the button and anchor tags are corrected. In the styles, its mostly encouraged to use classes (.class) instead of ID's (#id).
Personal opinion: I like to use imports for the fonts and then put the font-family property on the universal class like this, when I'm only using 1 font, so that it affects everything, including buttons. As far as I've observed, buttons are not affected by the fonts unless specified in their styles.
@import("link to specific google font"); * { font-family: "font here" }
I hope this makes sense.
0
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