From Day 22

• 8-1. g element is a group element. It is an SVG element, just like line, circle, and rect. One thing different is that g element is invisible. It serves two functions:

1. Helps us group other elements;

2. Accepts transformations onto it, which is very handy.

• 8-7. for (var i = 0; i < 50; i++){}. Two points to remember:

1. It should be var i = 0, rather than simply i = 0;

2. Seperate the codes inside the bracket by ;, not ,.