<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Creeper</title>
</head>
<body>
<canvas width="500" height="500">
</canvas>
<script>
const lienzo = document.querySelector('canvas');
const pincel = lienzo.getContext('2d');
pincel.fillStyle = 'darkgreen';
pincel.fillRect(0,0,500,500);
pincel.fillStyle = 'black';
pincel.fillRect(100,100,100,100);
pincel.fillStyle = 'black';
pincel.fillRect(300,100,100,100);
pincel.fillStyle = 'black';
pincel.fillRect(200,200,100,150);
pincel.fillStyle = 'black';
pincel.fillRect(150,350,50,200);
pincel.fillStyle = 'black';
pincel.fillRect(300,350,50,200);
</script>
</body>
</html>