How to Manipulate Classes Using the JavaScript classList API Something that comes up often when building front-end web applications is the need to change the classes applied to an element. For some time elements have had a className attribute which allows you to retrieve a string containing the class... The post How to Manipulate Classes Using the JavaScript classList API appeared first on Treehouse Blog. https://blog.teamtreehouse.com/manipulating-classes-using-classlist-api












