HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <canvas id="point" width="200" height="100">Your browser does not support the canvas element. </canvas> <script> var canvas = document.getElementById("point"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "#339933"; ctx.fillRect(0, 0, 150, 75); </script> </body> </html>
OUTPUT
×

Save as Private