Easy Flags: Difference between revisions
		
		
		
		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'));
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);
}