Easy Flags: Difference between revisions

From ProgZoo
Jump to navigation Jump to search
Created page with "==Libya== <div class='qu'> What is 6 times 7? <pre class='usr'> function drawFlag(ctx) { ctx.fill = 'green'; ctx.fillRect(0,0,75,100); } </pre> <pre class='ans'> functio..."
 
No edit summary
Line 1: Line 1:
<pre id='shellbody'>
<canvas></canvas>
</pre>
<pre id='shelljs'>
drawFlag(document.querySelector('canvas').getContext('2d'));
</pre>
==Libya==
==Libya==
<div class='qu'>
<div class='qu'>

Revision as of 09:57, 1 August 2021

<canvas></canvas>
drawFlag(document.querySelector('canvas').getContext('2d'));

1) Libya

What is 6 times 7?

Input


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);
}  
Served by: dill at 2025-07-23T02:49

Navigation menu