The numbers in the parenthesis (called parameters) indicate the top-left x and y, and the width and height -- all expressed in pixels.
In Javascript-land it's crucially important that upper and lower case is written exactly correctly. One slip of the shift-key and things will fail; frequently cryptically.
Try to make it short and wide. Try high and narrow.
What happens if your rectangle spills off the side?
Just get a feel for it, because next we'll start to change things around.
|