Stop toggling classes with JS, use behaviour driven DOM manipulation with data-statesPost navigationPrevious post: Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states