Rather than hidden items receiving a style of display none how could I instead add a class of hidden?
I'm using vanilla javascript rather than jQuery.
I can find nothing about this in any of the documentation. Apologies in advance if this is a duplicate question; I have searched far and wide for an answer.