Testing-Page

Testing page:
This code prevents the collapse event from being triggered when the menu button is clicked. By stopping the event propagation, the menu will remain open and not collapse.

Make sure to include the jQuery library and the above JavaScript code in your HTML file. The code binds a click event to the menu toggle button (the element with the class navbar-toggler) and stops the event propagation using e.stopPropagation().

Again, please ensure that you have included the jQuery library before the JavaScript code for it to work correctly.