JSFiddle - React, Tailwind, and code Playground
by victorrseloy
HTML
<canvas width='400' height='400' id='myCanvas'></canvas>
CSS
#myCanvas{
width:500px;
height:500px;
background:#EEE
}
JavaScript
let canvas = document.getElementById('myCanvas')
let ctx = canvas.getContext('2d')
ctx.fillRect(20,20,10,10)