Below is the code for my navigation bar:
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="portfolio.html">PORTFOLIO</a></li>
<li><a href="resources.html">RESOURCES</a></li>
<li><a href="testimonials.html">TESTIMONIALS</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="contact.html">CONTACT</a></li>
</ul>
</nav>
Here is the CSS code:
a: hover {
color: brown;
}
a: active {
color: #1490A5;
}
I am attempting to change the color of the active link and the color when hovering over it, but it isn't working as expected.