Design comparison
Solution retrospective
Being more comfortable writing code.
What challenges did you encounter, and how did you overcome them?Tried to solve the responsiveness with @media
. But it feels not optimal.
Tips how to improve the @meadia element or maybe a better option where it is not needed. What are best practices?
Community feedback
- @danielmrz-devPosted 5 months ago
Hey there!
Congrats on finishing the challenge! ā
Your solution looks awesome!
š It's a good idea to use semantic HTML elements like
<ul>
and<li>
for lists. This makes your code more accessible, maintainable, and meaningful.Here's an example of 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>
Using
<ul>
and<li>
makes your content structure clearer, which is better for screen readers and search engines. Plus, it follows best practices for HTML.Hope this helps!
Keep up the great work!
Marked as helpful1@defPhisyPosted 4 months ago@danielmrz-dev Thanks for your tips. Updated it to an unordered list. Also replaced <header> with div.header to be prepared to use this code into a website with <header>.
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