Design comparison
Solution retrospective
Hello everyone, I have a question. The thing is that it already works fine ans looks good I thtink but the problem is with the menu. When I click once it opens and everything do as they should, I can open and close every category without problem, but when I close the menu and open it again then I cannot open every category and the class I am supposedly adding is removed instantly so it does not work. In short, every two clicks opening the menu the categories stop working and I am wondering if someone could help me find the problem with my JS programming because I tried to fix it but i could not. Regards and thanks in advance
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord