News Homepage using Bootstrap5

Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hello Nitin, You have done a good work! 😁
Some little tips to improve your code:
- add
header
tag and wrap the navbar for improve the Accessibility - add
main
tag and wrap the main page content for improve the Accessibility - also you can use
article
tag instead of a simplediv
to the container of news for improve the Accessibility - add
transition
on the element with hover effect - instead of using
px
use relative units of measurement likerem
-> read here
Keep learning how to code with your amazing solutions to challenges.
Hope this help 😉 and Happy coding!
Marked as helpful - add
- @AdrianoEscarabote
Hi Nitin Singh, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
wrap the
nav
tag with theheader
tag:<header> <nav class="navbar navbar-expand-lg navbar-light"> </header>
wrap this div:
<div class="container-lg homa-page mt-lg-1">
with the
main
tag!I noticed that you used a
button
in which case the best option would be ana
, because in my head when a person clicks on a button written Read more, he is not confirming a form, or something like, it will be redirected to another page, to read more about!To resolve this:
<a class="readmorebtn btn px-4 mt-2">R E A D M O R E</a>
The rest is great!
I hope it helps... 👍
Marked as helpful - @Nitinsingh08
Thank you so much for your suggestion , I will surely implement them in the next project. The fact that someone is reviewing my project and helping is too much for me ,again , thanks for this .
Join 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