title: Using sessionstorage for saving dark mode
body: <p>I successfully added dark mode to my site using
  <a href="http://jsfiddle.net/7Lfv0jqL/" rel="nofollow noreferrer">This fiddle</a></p>
  
  <p>JS:</p>
  
  <pre><code>$('#mode').change(function(){   
  
  if ($(this).prop('checked'))
  {
      $('body').addClass('dark-mode');
  }
  else
  {
      $('body').removeClass('dark-mode');
  }
  });
  </code></pre>
  
  <p>However, when refreshing the page the theme switches back obviously.
  I can't find out how to use sessionstorage to keep dark mode over the domain.</p>
  
  <p>Can someone help me?
  Thanks!</p>