I\'ve just started using class oriented / OOP programming. I am having difficulties "translating" vanilla JS into a class.
I am working on a dropdown menu with