Lights by Katerina Boronina

Посмотри на classList https://developer.mozilla.org/en-US/docs/Web/API/Element.classList