Hello!
It is necessary when you click on the link to make it active, to tint the background. Do so
$(document).ready(function () { $('.j-links').click(function () { $(this).addClass('active'); }); });
In css, that's what
.links .j-links.active { background-color: orange; color: #2f8bd8; }
On the page itself
<div class="links"> <a class="j-links" href="report.php"> Отчет </a> <a class="j-links" href="statistics.php"> Статистика </a> </div>
This solution does not work ..
Changed links to paragraphs p - the class active is hung .. but it is necessary and the transition to the address .. and for this you need links .. (