<canvas id="myCanvas"></canvas > 
<script> 
  var canvas = document.getElementById("myCanvas"); 
  var ctx = canvas.getContext("2d"); 
  ctx.fillStyle = "#FF0000"; ctx.fillRect(0, 0, 80, 80); 
</script>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.