JSFiddle - React, Tailwind, and code Playground

by Hooman Askari

HTML

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

CSS

canvas{  
    text-rendering: optimizeLegibility;
}

JavaScript

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

ctx.font = "40px Arial";
ctx.fillText("VAVA Te", 10, 50);