JSFiddle - React, Tailwind, and code Playground

HTML

<canvas id="myCanvas" width="400" height="150" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>

JavaScript

var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");

ctx.scale(-1,1);
ctx.font = "30px Arial";
ctx.fillText("Hello World",/*x*/-400,50);

//ctx.strokeRect(/*x*/-5,5,/*x*/-25,15);