@Anitanwabasa
Posted
Hi Yahaya👋
Great solution 👍
You can use this to center your div
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
Hope this helps :)
Marked as helpful
What are you most proud of, and what would you do differently next time?
I was able to apply some feedback and correction done to me on my previous challenges
What challenges did you encounter, and how did you overcome them?
I had some challenges when adding the clamp function.
What specific areas of your project would you like help with?
I will require help on clamp functions
@Anitanwabasa
Posted
Hi Yahaya👋
Great solution 👍
You can use this to center your div
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
Hope this helps :)
Marked as helpful
@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
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