title: Change Div style onclick
body: <p>I have 2 tabs at the top of a page. When one tab is clicked, I would like that tab to have an "active" class and the other tab to have an "inactive" class so that the user can see what tab is currently selected. How can I go about doing this with javascript/css?</p>
  
  <pre><code>&lt;div class="tabActive"&gt;
  Option 1
  &lt;/div&gt;
  
  &lt;div id="tabInactive"&gt;
  Option 2
  &lt;/div&gt;
  </code></pre>