How to create active button?

Hello, guys! How to create active button?

You could try it with jQuery.

$(.navlink').click(function() {
    $('.navlink').removeClass('active');
    $(this).addClass('active');
});

I think that should work :wink:

1 Like