<meta charset="uft-8">
<canvas width="1518" height="730"></canvas>
<script>
var lienzo=document.querySelector("canvas");
var pincel= lienzo.getContext("2d");
pincel.fillStyle = "black";
pincel.fillRect(400,0,700,700);
pincel.fillStyle = "darkgreen";
pincel.fillRect(500,100,500,500);
pincel.fillStyle = "black";
pincel.fillRect(550,150,140,140);
pincel.fillStyle = "black";
pincel.fillRect(800,150,140,140);
pincel.fillStyle = "black";
pincel.fillRect(690,290,110,200);
pincel.fillStyle = "black";
pincel.fillRect(620,380,70,230);
pincel.fillStyle = "black";
pincel.fillRect(800,380,70,230);