The easiest way to do this is to make a class named .dark{} on your elements (like buttons, header, etc.). Then, you can add an onClick event to toggle 'dark' into classList (for example, buttonOne.classList.toggle('dark')).
If you want to have other options, you can reply here.
The easiest way to do this is to make a class named .dark{} on your elements (like buttons, header, etc.). Then, you can add an onClick event to toggle 'dark' into classList (for example, buttonOne.classList.toggle('dark')).
If you want to have other options, you can reply here.