5 lines
78 B
JavaScript
5 lines
78 B
JavaScript
function toggleDarkMode() {
|
|
document.body.classList.toggle("dark-mode");
|
|
}
|
|
|