title: <button> change color when clicked in HTML?
body: <p>How do I make a button change to another color when clicked and when clicked again it goes back to its original color? Can I do by using CSS or do I have to use Javascript?</p>
  
  <p>Thanks in advance</p>
  
  <p>This is the HTML code of my buttons.</p>
  
  <pre><code>&lt;div class="H1toH5"&gt;
    &lt;button class="seatButton"&gt;H1&lt;/button&gt;
    &lt;button class="seatButton"&gt;H2&lt;/button&gt;
    &lt;button class="seatButton"&gt;H3&lt;/button&gt;
    &lt;button class="seatButton"&gt;H4&lt;/button&gt;
    &lt;button class="seatButton"&gt;H5&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>