JSFiddle - React, Tailwind, and code Playground
by Malik Naik
HTML
<canvas id="myCanvas" width="300" height="200"></canvas>
<script>
var canvas = document.getElementById("myCanvas");
var context = canvas.getContext("2d");
context.font = "40pt Calibri";
context.fillStyle = "blue";
context.fillText("My TEXT!", 50, 100);
</script>