How to Add a Class to an HTML Element with JavaScript | CodeTrail