codigo:
<canvas width="350" height="300" style="border: 2px solid #000000;"></canvas>
<script>
let pantalla = document.querySelector('canvas');
let pincel = pantalla.getContext('2d');
pincel.fillStyle="#19541B"//propiedad
pincel.fillRect(0,0,350,300);//funcion
pincel.fillStyle="#000000"//propiedad
//funcion
//eyes
pincel.fillRect(50,60,90,90);
pincel.fillRect(210,60,90,90);
//nose
pincel.fillRect(140,150,70,100);
//mouth
pincel.fillRect(210,200,40, 110);
pincel.fillRect(100,200,40, 110);
</script>