Here's a thread on "How to start learning JavaScript?"

🧵👇
I was reading an article which stated;

Learning JavaScript is similar to like growing up. There are different phases of growth. You can view it in the following four phases:
1. Baby Phase
2. Child Phase
3. Teenage Phase
4. Adult Phase

{ 1 of 8 }
1. The Baby Phase
If the syntax of the language looks foreign, you're in the Baby Phase.
In this phase, focus on learning the syntax of JS so you can know what others are talking about when they say things like arrays, objects, functions, etc.

{ 2 of 8 }
2. The Child Phase
You're in the child phase if you already know the basics of JavaScript.
Maybe you can copy-paste and modify things after hours of googling, but you still don't know how DOM works. In this phase, focus on DOM methods and how it works.

{ 3 of 8 }
Cont.

Try building simple projects when you know how DOM works. For example, build a counter button that increases/decreases the numbers of a label.

{ 4 of 8 }
3. The Teenage Phase
If you know how to build stuff from scratch, then you're in the Teenage Phase. Your code may look messy and unorganized, and it's because of the lack of best practices.
The next step is to read books and learn best practices.

{ 5 of 8 }
Cont.

This is where you should learn tops, such as Object-Oriented Programming (OOP), Functional Programming, APIs, and a lot more.

{ 6 of 8 }
4. The Adult Phase
Congrats, you know enough JS to build almost anything. You're confident with your code. It is clean and optimized, and you know the best practices.

Now it's time to pick a library/framework. What you choose, depends on where you want to get to.

{ 7 of 8 }
Cont.

Choosing a library/framework doesn't actually mean you should quit learning JavaScript. As you dive deeper into JavaScript, you'll learn the true nature of the language that how it works.

{ 8 of 8 }
đź’­ Final thoughts

JavaScript is everywhere. JavaScript is awesome. Every other day it gets more and more beautiful and complete.

I'm Hassib. I am here to help you write better JavaScript to make the web more awesome! đź’›

RT is appreciated! 🙌
You can follow @hassibmoddasser.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: