Difference between revisions of "Easy Flags"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<pre id='shellbody'> | <pre id='shellbody'> | ||
<canvas></canvas> | <canvas width=150 height=100></canvas> | ||
</pre> | </pre> | ||
<pre id='shelljs'> | <pre id='shelljs'> |
Revision as of 10:22, 1 August 2021
<canvas width=150 height=100></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); }