Basic JavaScript tips

How to change class name of an HTML element – javascript