You can learn from this, but you'd be better off learning code in Scratch at scratch.mit.edu