Motivated to learn JavaScript or being a better JavaScript developer? Let’s get started.

Let’s say you already know some JavaScript or you’re a beginner. Don’t waste time and jump into your preferred IDE and start writing the codes you want.

The fastest way to learn is learn while doing, but there is a problem with this method. There are some tricks you don’t know or you never heard of them but you’re writing your codes without knowing them and it’s hard to learn those rules or tricks without reading them somewhere. You already know you can define a variable by using the var keyword, but maybe you did not know that if you don’t use the var keyword, the variable will be global regardless of its defined place.

You will eventually learn what you need to know but that is doing it the hard way. Indeed, one of the best places you can learn while doing is freeCodeCamp, You can work through freeCodeCamp’s self-paced coding challenges, build projects, and earn certificates. it’s like diving into code but still knowing what you’re doing and learning tricks and rules in a fast and effective way.

The problem with learning JavaScript

There are many technologies and libraries for JavaScript that make it feel scary for beginners. There are some famous names that maybe you have never used and you hear about them constantly.

Some people think “What’s this Babel thing everyone is talking about. All the famous open-source projects are using it!” Or, “Wait — should I use Browserify or Webpack? Where did Gulp and Grunt came from? Ahhh, another new library or framework introduced last week! I can’t learn them all 😞”

Yes, you can’t and you should not learn them all immediately. Those technologies, frameworks and libraries exist to help you work smarter, faster and easier. When you find something interesting that is worthwhile to use on your project or is an answer to one of your needs, then you should go ahead and learn it with a beautiful smile on your face while remembering the English proverb “necessity is the mother of invention.”