title: Set LocalStorage based on dropdown value
body: <p>How would I set the value of a localstorage item based on the value of a dropdown selection?</p>
  
  <pre><code>   &lt;select id="theme" onchange=""&gt;
              &lt;option value="simple"&gt;Simple&lt;/option&gt;
              &lt;option value="black"&gt;Black&lt;/option&gt;
              &lt;option value="blood"&gt;Blood&lt;/option&gt;
              &lt;option value="beige"&gt;Beige&lt;/option&gt;
              &lt;!-- &lt;option value="default"&gt;Default&lt;/option&gt; --&gt;
              &lt;option value="league"&gt;League&lt;/option&gt;
              &lt;option value="moon"&gt;Moon&lt;/option&gt;
              &lt;option value="night"&gt;Night&lt;/option&gt;
              &lt;option value="serif"&gt;Serif&lt;/option&gt;
              &lt;option value="sky"&gt;Sky&lt;/option&gt;
              &lt;option value="solarized"&gt;Solarized&lt;/option&gt;
          &lt;/select&gt;
  </code></pre>