javascript tye append class code example
Example: js append class
function myFunction() {
var element = document.getElementById("myDIV");
element.classList.add("mystyle");
}
function myFunction() {
var element = document.getElementById("myDIV");
element.classList.add("mystyle");
}