Assignment:
Using the code we started in lab, alter the method we used to resize the canvas so that a canvas inherits its size from its parent (i.e. the dimensions are not hardcoded and the canvas can easily fill its container (div) )
Test this by creating two canvas elements with different widths.
No comments:
Post a Comment