Having previous experience with other programming languages might also help.
This topic contains the following modules, in a suggested order for working through them.
- Client-side web APIs
- Coding math
- An excellent series of video tutorials to teach the math you need to understand to be an effective programmer, by Keith Peters.