You can only get so far by looking at code.
The real learning starts when you actually try and write some yourself.

Make an actual effort, and then we'll help you.