<meta chartset = "utf-8">
<canvas width="600" height="400">
</canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
//cabeza
pincel.fillStyle = 'darkgreen';
pincel.fillRect(125, 20, 350, 300);
//ojos
pincel.fillStyle = 'black';
pincel.fillRect(175, 50, 90, 90); //ojo izquierdo
pincel.fillRect(335, 50, 90, 90); //ojo derecho
//nariz
pincel.fillRect(265, 140, 70, 100);
//boca
pincel.fillRect(225, 190, 40, 110);
pincel.fillRect(335, 190, 40, 110);
</script>