JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script>
var context;
function init()
{
context = myCanvas.getContext('2d');
context.beginPath();
context.fillStle = "green";
context.arc(100,100,20,0,Math.PI2,false);context.closePath();
context.fill();
}
</script>
</head>
<body onLoad="init();">
<canvas id= "myCanvas" width = "500" height = "400">
</canvas>
</body>
</html>