Learn Advanced JavaScript in about a week!
Learning should be fun and quick; no need to spend ages in just one single course.
How to become an expert at JavaScript?
Get these few handful of steps in place and you'll be on the road to becoming one.
JavaScript is undoutedly the most popular language in the world. It's among the very foundations of the frontend side of the World Wide Web and, thanks to Node.js, it's also a big player on the backend.
Learning JavaScript is a real challenge firstly due to its own huge core and secondly due to the huge ecosystem around it. JavaScript is simply everywhere, from embedded computers to high-end servers, so you can naturally expect a lot from it.
Here I discuss with you a bunch of practical steps to take in order to master this behemoth language and be rightly called a JavaScript expert.
Build a strong foundation
First things first, you need to have a rock-solid foundation of JavaScript itself. And note that here I am not referring to browser APIs like the HTML DOM or anything related to Node.js; I'm rather just referring to the core language itself. Technically speaking, I'm referring to the ECMAScript.
You should be well-versed with concepts such as JavaScript's type system, closures, promises, iterators, JSON, execution model, and how to work with date/time, classes, prototypes, asynchronous code, and so on and so forth.
Fortunately, I've got you covered here. My mini courses on JavaScript and Advanced JavaScript make sure that you develop a robust foundation of the language without having to spend months and months in learning.
Learn browser APIs and Node.js
As you may know, JavaScript is a scripting language which means that it has an engine (a program) that runs it. This engine can be paired with a runtime system to provide JavaScript with APIs to interact with the external world.
For client-side JavaScript, this runtime environment is the browser and for server-side JavaScript, by and large, this runtime environment is Node.js.
In order to be classified as an expert in JavaScript, you must have a substantial amount of knowledge of both these environments where JavaScript executes.
For example, talking about the browser, you should know about such things as the DOM, events, timers, fetch(), etc. Similarly, for Node.js, you should know about events, filesystem utilities, streams, clusters, child processes, etc.
Surf MDN docs
Needless to say, to become an expert at JavaScript, you must be willing to time and time again go through its official documentation: MDN. There's simply no question in this.
For example, if you're done learning the DOM, then probably go to MDN and explore the entire DOM API and see whether there's any new utility that you can use in your next personal (or commercial) project. Maybe you'd want to try the Selection API, or maybe the IntersectionObserver API. The sky's the limit here.
What's most important is for you to make it a habit to surf through MDN and learn about various features of JavaScript and countless web APIs along with the purpose they serve. MDN is full of helpful examples and lengthy explanations to help you better understand everything.
Read the ECMAScript spec
Do you know that there's an official, standard specification published by the ECMA International organization for JavaScript. It defines the syntax and semantics of ECMAScript — that is, core JavaScript.
ECMAScript® 2027 Language Specification
Before anything, let me tell you: it's a highly technical, tedious, and difficult read. Don't assume that it's a walk in the park! However, what I find interesting about the specification is that there's a lot to learn from it as well.
For example, in multiple areas, you'll find extra explanations of why things are done the way they are. Or you might find better definitions of certain concepts. Or maybe you'll get to understand the precise algorithms meant to be used by conforming implementations and, therefore, become more confident in your understanding of basic operations.
The ECMAScript specification is simply a sea of information to dive into. (And when there's a sea, there are pearls to look for!)
Explore popular tools
An expert marketer won't be classified an expert if all he knows about is the theory of marketing; instead, he's expected to know about the best and most popular tools of the current times. The same applies to JavaScript programmers.
That is, you must learn about popular libraries and frameworks used with JavaScript. To quickly name a few, you must know — and know sufficiently well — about the following:
Practice often
If you acquire all of what I've mentioned above but you don't practice it, nothing would stay with you. This is certain.
We as humans are hardwired to forget things. But this only happens if we don't deliberately make the effort to ensure otherwise. Speaking of which, when you're learning about anything "JavaScript", make sure to practice it by solving simple exercises and creating projects.
For example, if you're learning a new API, try creating a small program using it. Then, maybe turn the program into a project (and, as a result, get to practice yet more concepts). Similarly, if you learn a new tool, try it out.
Don't just collect knowledge; instead, actively engage with it and use it by means of deliberate practice.
Recall and repeat
Surprisingly, practice ain't enough on its own. If you practice today a concept that you just learned and then never ever reuse or recall it, it's effectively the same as never having practiced ever!
In other words, while you must certainly practice, you must also recall what you practice and repeat it. For example, if you learn an API in JavaScript, you should first and foremost go on and practice it by using it in a program. Then, after one week maybe, you must try using it again or at least recalling how you used it before.
The more you recall and repeat what you practice, the better you'll be able to retain it. Eventually, it'll make home in your long-term memory and come at your fingertips. And you want that, right?