Design comparison
Solution retrospective
This challenge made me better understand the use of Tailwind CSS and its usefulness in relation to website responsiveness. In future challenges, I intend to improve the use of it.
What challenges did you encounter, and how did you overcome them?I had difficulty framing the main's child content with a due to the use of height: auto
. but I managed to solve it by providing a functional width for it.
I also had difficulties in understanding the import of the font present in the fonts folder. however, I was also able to resolve it.
I need help understanding if my challenge style is syntactically good and if the font import is correct.
Community feedback
- @danielmrz-devPosted 5 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
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