A quick exercise
Draw a line using canvas and JavaScript, which will be parallel to the y axis of the canvas.
Draw a rectangle having 300 px height and 200 px width. Draw a line on the same canvas, touching the rectangle.
Draw a line using canvas and JavaScript, which will be parallel to the y axis of the canvas.
Draw a rectangle having 300 px height and 200 px width. Draw a line on the same canvas, touching the rectangle.