oordinates</li>
  <li>begin the drawing path<a href="http://www.w3schools.com/tags/canvas_stroke.asp" class="underline">(stroke)</a> of the line</li>
</ul>

<p>This is all our JavaScript:</p>

<div class="language-js highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  <span class="c1">// set canvas id to variable</span>
  <span class="kd">var</span> <span class="nx">canvas</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElement