@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!
@reteov
Posted
@danielmrz-dev Okay, done. This was a lot trickier than I expected... First, I had to figure out how to remove the bullet points and indentation, and then there is the whole "hover/focus" thing, which was a bear to figure out until I learned about the :focus-within
effect, which got the job done. While I was at it, I also changed my name to an h1
tag to resolve that message in the accessibility report.