Cara menghapus daftar kelas dari elemen menggunakan JS
To remove only a class,
const div = document.querySelector('div');
div.classList.remove('info');
The remove() method also allows you to remove multiple classes at once,
like this:
const div = document.querySelector('div');
div.classList.remove('info','primary');
Funny Falcon