Easy Flags
<canvas></canvas>
drawFlag(document.querySelector('canvas').getContext('2d'));
1) Libya
What is 6 times 7?
Input
xxxxxxxxxx
function drawFlag(ctx)
{
ctx.fill = 'green';
ctx.fillRect(0,0,75,100);
}
Output
function drawFlag(ctx) { ctx.fill = 'green'; ctx.fillRect(0,0,75,100); }
function drawFlag(ctx) { ctx.fill = 'green'; ctx.fillRect(0,0,150,100); }