How to make the Home link be active as shown in the code.

Here is the code:

<ul class="nav nav-tabs"> <li role="presentation" class="active"><a href="#">Home</a></li> <li role="presentation"><a href="#">Profile</a></li> <li role="presentation"><a href="#">Messages</a></li> </ul> 
  • getbootstrap.com/components/#nav - for example, you click on the Profiles button and it becomes active. - Valijon Rahimov
  • Honestly, it is not clear what you want and what you can’t do ... Check if you have the bootstrap file js and css connected. - Makarenko_I_V
  • Most likely this is done using jQuery. You need to remove the active class and assign it to the next one by clicking. - Valijon Rahimov
  • This is all already implemented in bootstrap.js connect it only. Re-read the installation manual for bostrap. - Makarenko_I_V

0