Question: Write the code for lines 1-4 and fill in the blanks so that the program will draw on the canvas a red stroke colored rectangle

 Write the code for lines 1-4 and fill in the blanks

Write the code for lines 1-4 and fill in the blanks so that the program will draw on the canvas a red stroke colored rectangle size 100100 starting at position 0,0 : canvas id="paper" width="300" height = " 150 " / canvas 1. Var C= document.getelementById("__"); 2. var ctx = c.getcontext ("__"); 3. ctx.strokestyle=" ctx.___ (); 4. ctx. () ; script >

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!