JSFiddle - React, Tailwind, and code Playground
HTML
<canvas id="myCanvas" width="578" height="200"></canvas>
JavaScript
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.beginPath();
ctx.lineWidth="5";
ctx.strokeStyle="red";
ctx.moveTo(0,75);
ctx.lineTo(250,75);
ctx.stroke();
ctx.beginPath();
ctx.strokeStyle="red";
ctx.moveTo(0,75);
ctx.lineTo(250,130);
ctx.stroke();