Alguem poderia olhar meu codigo? E ver se fiz alguma maluquice, pq acho que deu certo.
<canvas id = "tela" width = "600" height = "400"></canvas>
<h3>Colombia</h3>
<canvas id = "Colombia" width = "300" height = "200"></canvas>
<script>
var tela = document.getElementById("Colombia");
var c = tela.getContext("2d");
c.fillStyle = "yellow";
c.fillRect(0,0,300,100);
c.fillStyle = "blue";
c.fillRect(0,100,300,150);
c.fillStyle = "red";
c.fillRect(0,150,300,200);
</script>
<h3>Madasgascar</h3>
<canvas id = "Madasgascar" width = "300" height = "200"></canvas>
<script>
var tela = document.getElementById("Madasgascar");
var c = tela.getContext("2d");
c.fillStyle = "red";
c.fillRect(100,0,300,100);
c.fillStyle = "green";
c.fillRect(100,100,300,200);
</script>