<canvas width="600" height="400"></canvas>
<script>
var canva = document.querySelector("canvas");
var pincel = canva.getContext('2d');
pincel.fillStyle = "lightgrey";
pincel.fillRect(0, 0, 600, 400);
pincel.fillStyle = "darkgreen";
pincel.fillRect(125, 25, 350, 300);
pincel.fillStyle = "black";
pincel.fillRect(225, 215, 40, 110);
pincel.fillRect(335, 215, 40, 110);
pincel.fillRect(265, 165, 70, 100);
pincel.fillRect(175, 75, 90, 90);
pincel.fillRect(335, 75, 90, 90);
</script>