ParentFull threadt3soro·className has always been the convention for accessing the class attribute in Javascript.https://developer.mozilla.org/en-US/docs/Web/API/Element/cla...View on HN