canvas = document.getElementById("canvas"); ctx = canvas.getContext("2d") ctx.lineWidth = 6; ctx.strokeStyle = "#0090D2"; ctx.beginPath(); ctx.moveTo(100, 250); ctx.quadraticCurveTo(335, 94, 400, 250); ctx.stroke();
canvas = document.getElementById("canvas"); ctx = canvas.getContext("2d") ctx.lineWidth = 6; ctx.strokeStyle = "#0090D2"; ctx.beginPath(); ctx.moveTo(100, 250); ctx.quadraticCurveTo(335, 94, 400, 250); ctx.stroke();