JSFiddle - React, Tailwind, and code Playground

by frogggeee McFrogggeee

HTML

<!DOCTYPE html>
<html>
<head>
<body>
<h1>moving squares</h1>
<p>by frogggeee</p>
<canvas id = "canvas" width = "480" height = "360"></canvas>
<script>
let canvas = document.getElementById("canvas");
let ctx = canvas.getContext("2d");
function square() {
	ctx.beginPath();
  ctx.rect();
  
  ctx.closePath();
}
</script>
</body>
</head>
</html>