JavaScript div ID Tambah Kelas

var d = document.getElementById("div1");
d.className += " otherclass";
Shadow