w3schools.com/TAgs/canvas_linecap.asp" class="underline">lineCap</a></li>
  <li>specify the <a href="http://www.w3schools.com/TAgs/canvas_strokestyle.asp" class="underline">strokeStyle (color of line)</a>, which is set to our variable with the input id value</li>
  <li>add the from<a href="http://www.w3schools.com/tags/canvas_moveto.asp" class="underline">(moveTo)</a> and to <a href="http://www.w3schools.com/tags/canvas_lineto.asp" class="underline">(lineTo)</a>functions for the line based on the position c