I created a small (~1kb gzipped) vanilla js module in my previous job to toggle, add and remove class names of any elements that could be selected with a CSS query on click (+mobile support) which was extremely versatile and configurable with data-attributes. It's still heavily in use without any changes and was the reason we could remove jQuery from a lot of simple pages.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I created a small (~1kb gzipped) vanilla js module in my previous job to toggle, add and remove class names of any elements that could be selected with a CSS query on click (+mobile support) which was extremely versatile and configurable with data-attributes. It's still heavily in use without any changes and was the reason we could remove jQuery from a lot of simple pages.