fill in the blanks | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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>

13th Apr 2018, 8:46 PM
Shubham goyal
Shubham goyal - avatar
3 Answers
+ 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>
13th Apr 2018, 11:51 PM
Zinab Abdulmanea
Zinab Abdulmanea - avatar
+ 10
good
16th Apr 2018, 3:00 PM
Shubham goyal
Shubham goyal - avatar
+ 5
cool
22nd Jul 2018, 7:59 AM
rohit