+ 10
fill in the blanks
<html> <head></head> <canvas id="canvas1" width="400" height="300"> </ > <script> c=document.getElementById("canvas1"); var =c.getContext("2d"); ctx.fillRect(20,20,200,100); </ > </body> </html>
3 Respuestas
+ 4
<html>
<head></head>
<body>
<canvas id="canvas1" width="400" height="300">
</canvas>
<script>
c=document.getElementById("canvas1");
var ctx=c.getContext("2d");
ctx.fillRect(20,20,200,100);
</script>
</body>
</html>
+ 10
good
+ 5
cool