Close my spans when I click on my a inside my menu

I made a responsive menu a few days ago, it’s working pretty well except when I click my a inside the menu-ul I created, it closes the menu but not the state of my burger menu spans. Here is the code …