Dram's Add-Remove Class
This is a simplest quality of life hack to make it possible to add and remove classes with custom parameters to any element with the triggers, allowing for interactive modification of DOM elements.
The step-by-step guide is here
https://forum.webflow.com/t/drams-simple-add-remove-class-tutorial/79147