<canvas id="my-canvas" width="650px" height=" 500px">
</canvas<
let myCanvas = document.getElementById('my-canvas');
let ctx = myCanvas.getContext('2d');
ctx.strokeStyle ='green';
ctx.lineWidth = 5;
ctx.beginPath();
ctx.bezierCurveTo(130, 156, 300, 360, 10, 450);
ctx.stroke();
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.