🌱 Active link

Source

Use aria-current="page" instead of class names to show the active page.

<ul class="nav">
  <li><a href="/about">About</a></li>
  <li><a aria-current="page" href="/articles">Daily Tips</a></li>
  <li><a href="resources">Learn JS</a></li>
</ul>
.nav [aria-current] {
  border-bottom: 0.125em solid #fa7176;
  color: #272727;
}
Made by Brandon . If you find this project useful you can donate.