Keep navigation link active with jQuery

After clicking on any navigation link in navgation and whenever that page will be open then one active class will be added in that element.

 var a = $('.navbar-nav a');
   if(window.location.href == $(this).attr('href')){

Shaharia is a professional software engineer with more than 10 years of experience in the relevant fields. Digital ad certified, cloud platform architect, Big data enthusiasts, tech early adopters.

Site Footer