title: bootstrap change background color on click
body: <p>I want to change the background color of the column when it is clicked and revert back to its initial color when another column is clicked on.
  Please check the code on codepen link.</p>
  
  
  
  <pre><code>&lt;div class="row"&gt;
  &lt;div class="col-sm-2 col2"&gt;Type&lt;/div&gt;
  &lt;a href="#" class="link"&gt;
  &lt;div class="col-sm-5 col3"&gt;Close Ended&lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="#" class="link"&gt;
    &lt;div class="col-sm-5 col4"&gt;Open Ended&lt;/div&gt;
  &lt;/a&gt;
  </code></pre>
  
  
  
  <p><a href="http://codepen.io/SantoshNeela/pen/zKYAOa" rel="nofollow">http://codepen.io/SantoshNeela/pen/zKYAOa</a></p>