代碼以下:spa
document.getElementById("btn").classList.add("active");
document.getElementById("btn").classList.remove("active");