Easy Flags

From ProgZoo
Revision as of 09:57, 1 August 2021 by Andr3w (talk | contribs)
Jump to navigation Jump to search
<canvas></canvas>
drawFlag(document.querySelector('canvas').getContext('2d'));

Libya

What is 6 times 7?

function drawFlag(ctx)
{
  ctx.fill = 'green';
  ctx.fillRect(0,0,75,100);
}  
function drawFlag(ctx)
{
  ctx.fill = 'green';
  ctx.fillRect(0,0,150,100);
}