Draw a trianlge on the HTML5 canvas
Fetches the canvas element. Creates a 2D context. Clears the canvas, the sets the fill style to red and then creates a path with lineto points. After the path has been created it fills it with the earlier selected color.