title: Switching website's theme/css file
body: <p>for my website, I have two different CSS files. One for showing the website in a dark theme and the other one in a light theme.</p>
  
  <p>Now I would like to let the user switch between the two themes. But I don't know how I could implement this. I would prefer not to create two HTML files, where the only difference is that one has a link tag to the light theme and the other one to the dark theme.</p>
  
  <p>The best solution would be that the user simply clicks on a button and the theme changes without reloading.</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks!</p>
  
  <h1>Edit</h1>
  
  <p>Decided to go with <a href="https://stackoverflow.com/a/48796000/1496715"><strong>this</strong></a> answer. Thanks @void </p>