blob: b135021a0a13bb8c8b0116ff33ca5dc49248e548 [file] [log] [blame]
<!DOCTYPE html>
<canvas id="output" width="100" height="100" style="background: blue;"></canvas>
<script>
"use strict";
const canvas = document.getElementById('output');
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'green';
ctx.fillRect(0, 0, 100, 100);
</script>