title: Get number of columns and rows selected when a mouse hovers over a table with JavaScript
body: <p>Based on an HTML table that creates the below image....</p>
  
  <p><a href="https://i.stack.imgur.com/ePSjo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ePSjo.png" alt="enter image description here"></a></p>
  
  <p>I need to allow a user to move there mouse over the table cells and as they go right and up/down have it add the CSS class to each cell that is in the covered space <code>SizeChooser-hover</code>.</p>
  
  <p>When they select the desired columns and rows for there table and click it will then add the CSS class <code>SizeChooser-selected</code> to all cells in the square.</p>
  
  <p>It will then also get me the number of columns and the number of rows into a variable in JavaScript.</p>
  
  <p>Can anyone help me achieve this?  My JSFiddle here has the HTML for the table <a href="https://jsfiddle.net/qxavaja9/" rel="nofollow noreferrer">https://jsfiddle.net/qxavaja9/</a> </p>
  
  <p>add a CSS class `cell-selected</p>