classList
Selectors API and classList property
PUBLISHED
Introduction
The selectors API and classList property were added to the DOM to select html elements and modify css classes assigned to them in a more convinient way. If you used special libraries or frameworks to do these things, you can consider now using only pure JavaScript.
Category:
Dev Tips
- Read more about Selectors API and classList property