<meta charset = "utf-8">
<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
pincel.fillStyle = "white";
pincel.fillRect(0,0,600,400);
//cabeza 1
pincel.fillStyle = "darkgreen";
pincel.beginPath();
pincel.moveTo(125,50);
pincel.lineTo(125,350);
pincel.lineTo(475,350);
pincel.lineTo(475,50);
pincel.fill();
// boca 5
pincel.fillStyle = "black";
pincel.beginPath();
pincel.moveTo(225,350);
pincel.lineTo(225,240);
pincel.lineTo(265,240);
pincel.lineTo(265,350);
pincel.fill();
//boca 6
pincel.fillStyle = "black";
pincel.beginPath();
pincel.moveTo(335,350);
pincel.lineTo(335,240);
pincel.lineTo(375,240);
pincel.lineTo(375,350);
pincel.fill();
//nariz 4
pincel.fillStyle = "black";
pincel.beginPath();
pincel.moveTo(265,300);
pincel.lineTo(265,200);
pincel.lineTo(335,200);
pincel.lineTo(335,300);
pincel.fill();
//ojo 2
pincel.fillStyle = "black";
pincel.beginPath();
pincel.moveTo(265,200);
pincel.lineTo(175,200);
pincel.lineTo(175,110);
pincel.lineTo(265,110);
pincel.fill();
//ojo 3
pincel.fillStyle = "black";
pincel.beginPath();
pincel.moveTo(335,200);
pincel.lineTo(335,110);
pincel.lineTo(425,110);
pincel.lineTo(425,200);
pincel.fill();
</script>