title: Change table cell color based on a button selection
body: <p>I am trying to create a set of buttons that change the color of a clicked cell in a table. </p>
  
  <p>for example: </p>
  
  <ol>
  <li><p>User chooses the blue button</p></li>
  <li><p>Only one button is allowed to be active at a time.</p></li>
  <li><p>Any cell that the user clicks on changes blue (or red, green, yellow or white depending on the button selected. </p></li>
  </ol>
  
  <p>The best I could do is the picture below. Please help or guide me to a solution. Thanks.</p>
  
  <hr>
  
  <p><img src="https://i.stack.imgur.com/aaqGI.png" alt="table image"></p>