@danielmrz-dev
Posted
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!
Marked as helpful
@luciehelias
Posted
Hello @danielmrz-dev ! Thank you so much for the help this helps me understand better. I will use it more in my future project to make my code more accessible and semantically meaningful. Thank you again ! Have a nice day