let toggle = false;

var body = document.body; const chk = document.querySelector('.check');

chk.addEventListener("click", () => { if(!toggle){ toggle = true; body.classList.add("darkMode");

}else{ toggle = false; body.classList.remove("darkMode"); }

});

Commendcenter

What is the map of my business recipe?

User journeys are the steps taken by users to accomplish a predefined task on your business process - whether it…

3 years ago