Design comparison
Solution retrospective
I am happy that the speed in which I completed this has improved. It was a good challenge to continue to build upon my base knowledge.
What challenges did you encounter, and how did you overcome them?I don't feel like I encountered many problems with this one.
What specific areas of your project would you like help with?I used a switch statement to handle the button clicks. Is there a better 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!
Marked as helpful0 - @MattJM1007Posted 6 months ago
Hi Nate!
First off, amazing job with this project, I can see it is nearly identical to the design. Really well done. looks amazing!
As far as the button clicks, I am not sure myself what a switch statement is, but here is how I achieved the result in my css:
button:hover{ background-color: hsl(75, 94%, 57%); color: hsl(0, 0%, 8%); cursor: pointer; }
This is a hover state property where you can change the look of the element your are hovering over. Hope this helps!
Marked as helpful0
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