<meta charset="UTF-8">
<html>
<canvas width="600" height="600"> </canvas>
<script>
var tela = document.querySelector("canvas");
var pincel = tela.getContext("2d");
pincel.fillStyle ="lightgrey";
pincel.fillRect(0,0,300,300);
pincel.fillStyle = 'darkgreen'
pincel.fillRect (90,140, 160,149);
pincel.fillStyle = "black";
pincel.fillRect (110,174,45,44);
pincel.fillRect (185,174,45,44);
pincel.fillRect (148,218,40,25);
pincel.fillRect (135,234,70,55);
pincel.fillStyle='darkgreen';
pincel.fillRect (153,255,34,34);
</script>
</html>