Is there a way to change the background color upon clicking on the li
anchors?
<div class="text-center row">
<ul class="col-md-12 secondNav">
<li class="navbar-brand nav-item" style="margin-right: 9%">
<a href="#" ><strong>HOME</strong> </a>
</li>
<li class="navbar-brand nav-item" >
<a href="#"><strong>COMPARE</strong></a>
</li>
</ul>
</div>