Draw two paths on the canvas; one green and one purple:
Internet Explorer 9, Firefox, Opera, Chrome, and Safari support the beginPath() method.
Note: Internet Explorer 8 and earlier versions, do not support the <canvas> element.
The beginPath() method begins a path, or resets the current path.
Tip: Use moveTo(), lineTo(), quadricCurveTo(), bezierCurveTo(), arcTo(), and arc(), to create paths.
Tip: Use the stroke() method to actually draw the path on the canvas.
Your message has been sent to W3Schools.