hello I am having trouble by keeping the dark-mode on when I switch pages or I refresh . I tried to play with java codes with no luck does anyone know what code should I add over my js so the it saves my theme ?? this is my code thanks in advance https://codepen.io/wissambattlaxe/pen/xxOvbmL
let button = document.querySelector('.onoffswitch-checkbox')
button.addEventListener('click', ()=>{
document.documentElement.classList.toggle('dark-mode')
})
and this is the website : http://zabri.atwebpages.com/index