title: How to make a glyphicon clickable and change its appearance without using a button in Play Framework 2.3.8?
body: <p>I have a blue glyphicon in the form of an arrow-up. </p>
  
  <pre><code>&lt;span class="glyphicon glyphicon-arrow-up" aria-hidden="true" style="color:blue"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>Now if I click on it, I want to change the color of it to red and then count up a number next to it.
  I've seen several solutions where a button with a glyphicon on it is used to change the appearance / glyphicon, but I am wondering if it is possible to just use a glyphicon and toggle the color. If yes, how?</p>