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 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
Get step-by-step solutions from verified subject matter experts
