<canvas width="500" height="300"> </canvas>
<script>
let pantalla = document.querySelector("canvas");
let pincel = pantalla.getContext("2d");
pincel.fillStyle = "green";
pincel.fillRect(150,0,600,400);
pincel.fillStyle = "black"
pincel.fillRect(200,50,90,90);
pincel.fillStyle = "black"
pincel.fillRect(360,50,90,90);
pincel.fillStyle = "black"
pincel.fillRect(290,140,70,100);
pincel.fillStyle = "black"
pincel.fillRect(360,190,40,110);
pincel.fillStyle = "black"
pincel.fillRect(250,190,40,110);
</script>