I need to collapse the navbar dropdown when it was clicked, but it can\'t and still like the picture above. what should I do?
this is my code