You probably know other programmers who say “I learned programming in two days!”, and they seem to have learned it in two days. I doubt that they really did it though, and it’s hard to tell, because it’s hard to learn, even if you have a perfect environment to learn in.
If you were to take a look at some of the tutorials that are available to you this moment, you’ll probably get discouraged by the amount of knowledge you will have to learn to implement any useful application from scratch.
2. Get familiar with the Document Object Model (DOM). Most web-based applications have a good amount of code involved in manipulating a DOM, so it’s a good place to start.
4. Try your hand at some basic examples. Create your own little code snippets, this will help you speed up the learning.