The Demo
The Code
Output
Click on the button to add classes by JavaScript
Add Class by JavaScript
Click on the button to add classes by JavaScript
Add Class by JavaScript