We can add/remove active class while click on menu item in jQuery. Here is the example of html, css & jquery code. <!-- html starts…