Run
Online Code Editor
add class name using JavaScript
Hello World :)
Welcome to the javaTpoint.com
Click the following button to see the effect.
Add Class