Hello there, how is it going?
Welcome to 8bitmen.com

This write-up is a comprehensive insight into how long does it take to learn JavaScript? It also answers all the related & our frequently asked questions about the programming language such as Is it worth learning JavaScript? What can I do with it? What is the best way to learn it? How much JavaScript should I know to get a job?

So, without any further ado.
Let’s get on with it.

 

Before we jump right to the answers. A very quick intro to what is JavaScript?
Agghh… Is it really required? I already know what it is.
Believe me, this will help us a get a better understanding on the whole thing. You will know how…

 

1. What is JavaScript?

JavaScript is the language of the web. If you want to write applications for the web, you ought to know it. There is no other way. Just the knowledge of Html or CSS is pointless without the knowledge of JavaScript. Also, to learn any front-end framework like React, Angular or Vue, you should have knowledge of JavaScript. It’s a pre-requisite.

Simply put, it has the monopoly over front end development ?

 

2. How Long Does It Take to Learn JavaScript When I Am Starting from Scratch with No Programming Experience?

When starting to learn, the first thing is to clear our basics in programming. Be well acquainted with the language syntax, like if-else constructs, for while loops, arrays etc. Get a sense of what programming is.
If you are willing to devote 2 to 4 hours a day, a couple of weeks should be enough to get the hang of things.

There are several code editors available like Atom, Sublime Text, Vim, Brackets, the most lightweight Notepad++. You can pick any based on your liking.

After two weeks, you would know well what is JavaScript, write programs, like a calculator, that runs smooth in the browser.

Write little features, like validation checks & stuff, for your Html website, if you have any. There are several use cases of JavaScript. It is used for writing validation checks for a form on a web page, that takes user input from your website.

We can write the entire functionality of our app, all the features in JavaScript & just use the backend for persisting data. This is just to make you aware of things which we can do with JavaScript. Don’t be overwhelmed. I’ll talk about all this stuff in detail, up ahead in the article.

Alright!! With the programming basics under our belt. Time to learn the OOP Object Oriented Concepts of JavaScript. JavaScript, besides scripting, is an object-oriented language too. The OOP universe revolves around objects & there are several concepts in JavaScript, such as Closures, Web APIs, Event Loop, Prototype chain etc. which we need to know to write efficient object-oriented code.

Having a good understanding of OOP is pretty important & naturally, requires time.

Hmm, I would say if you devote 2 to 4 hours a day. 3 to 4 weeks will suffice. To acquire a good in-depth understanding on the concepts.

Now with all the concepts, clear we can get down to writing code. Obviously, we have been writing code. But now we can venture into writing applications. For the start, it can be as simple as a nice calculator app or an app which reminds you of the birthdays of your friends.

 

2.1 What Do I Need to Know Before Learning JavaScript? Are There Any Prerequisites? Do I Need To Know Html To Learn JavaScript?

Ideally, you should know Html before learning JavaScript. Knowledge of Html will help you a lot when writing JavaScript code since you have to continually interact with Html elements like form, divs etc.

If you do not know Html, you can also learn it parallelly but it’s gonna make things a little difficult for you. The ideal way would be to learn Html first.

 

2.2 How Hard is JavaScript Programming Language? Will I Be Able to Learn it?

JavaScript is as easy or hard as any other programming, scripting language. It’s just syntax, which helps us communicate with the machine.

Still, if you want to know, I believe JavaScript is pretty easy to grasp. Besides, things get tough or complex depending on the project you are working or developing.

For an instance writing a simple calculator app in JavaScript will always be easier than writing a money conversion or a currency management library in JavaScript. It’s the business logic & the complexity of the project which makes things a little tricky. Besides if you enjoy writing code, you won’t consider anything hard.

Summing up, yeah you will easily learn JavaScript. No big deal. Just code daily & stay dedicated to learning programming.

 

3. How Long Does It Take to Learn JavaScript When I Already Know A Backend Language Like Java, PHP, Python or Any Other Programming Language?

If you have experience with any of the programming language. That means you are already good with the basics of programming. Now you just have to understand what is JavaScript, why we use it? And get yourself acquainted with the syntax.

Getting yourself acquainted with syntactical stuff should not take you more than a week working 2 to 4 hours daily. Then you would have to go through the advanced concepts like the Closures, Web APIs, Event Loop, Prototype chain etc. This is gonna take some time. From one month to a couple of months. Depends on how dedicated you are to learning stuff.

Also, things get a whole lot clearer when you implement these concepts in an application you write from scratch.

 

4. What is the Best Way to Learn JavaScript?

For the beginners, W3Schools is a good place to start. After you get the hang of stuff, proceed with the Mozilla’s documentation on JavaScript. It contains good explanations on all the beginner, intermediate & advanced concepts. These two documentations are enough to understand & start building projects in JavaScript.

 

5. What Can JavaScript Do? What Is It Good For? What Applications Can I Build Using It? Is It Worth Learning?

Ideally, all the online multiplayer games which run on browser are built using Html5 & JavaScript.

As I informed you already if you are developing anything that would work the on the web you would need JavaScript. Popular frameworks like MeteorJS, ReactJS, AngularJS & others are entirely written in JavaScript.

JavaScript can also be used for writing peer to peer web apps. As they have no server & solely run on the client.

The user interfaces of all the social platforms running on the web like Facebook, Quora, LinkedIn are all written using JavaScript.

If one has to make a career in web development. Html, JavaScript are the fundamental technologies he should be deft with.

I recently wrote an online multiplayer business strategy game based on the sport of cricket. I wrote the front-end of the game on JavaScript. On the backend, I used Java, Spring Boot, Google App Engine & deployed it on Google Cloud. Here is a screenshot of it.

 

8bitmen.com How long does it take to learn Java

 

5.1 Are There Enough JavaScript Jobs in The Industry?

If we look at the Stack Overflow 2018 Survey JavaScript is the most wanted technology in the industry. That obviously shouldn’t come as a surprise as JavaScript rules the front-end realm.

More the technology required in building stuff. More job opportunities it’s gonna create.

 

6. How Will I know If I Am Ready for A Job? When Should I Start Applying for JavaScript Developer Jobs?

After we are good with the fundamentals, & have enough confidence to tackle the interviewer’s questions, we can ideally start applying for jobs.

But I wouldn’t apply just yet. Why?

I would recommend, build a good project using it before you apply. And a project can be anything from a small website to a simple browser game.

Oh God… Why a project? I am out of patience already. Isn’t investing a month reading the concepts enough?

Well I know, it’s hard to keep studying but hear me out. Why am I recommending a project, why is it important?

 

6.1 Why Building JavaScript Projects Is Important?

Brood over the below points:

1.  It Boosts Our Confidence by Notches: When we build a project from scratch, from bare bones. Doesn’t matter how small or simple. We kinda really get a grasp of how things work. How the lego blocks fit together & turn out into a big functional working thing.

Even if the interviewer tries to mess with you, plays around, tests your confidence in the fundamentals. You know your concepts pretty well because you have built something implementing those concepts. You are confident in what you say, you haven’t just read stuff from some book. You have actually built a real working functional thing.

2. Our Resume Gets ShortlistedThink of this from an interviewer’s perspective. You put out a job opening in the market. You are bombarded with tons of applications which claim they know the language. Some might even say they are an expert on the domain but don’t have anything to prove in their resume. Now you come across a resume which states a project written in JavaScript entirely from scratch. Which one are you gonna pick for the interview?

3. You Get a Solid Hands on Coding Experience: When you work on a project besides writing the core logic there are several other things like handling exceptions well, null checks, following best practices, writing modular code, creating a good object design, writing fail-fast, fail-safe systems. You just cannot learn these things if you don’t write a project by yourself. You acquire project designing skills, along with writing code.

All in all, it doesn’t hurt building projects. The odds of getting a job spike by notches.

 

Now after you’ve learned JavaScript, you would need to learn a backend language, in order to build a complete web-app, persist data, to become a full stack developer. If you intend to learn Java. I’ve written an article on how long does it take to learn Java & get a job. What can you do with Java? Why it’s still the most popular in the industry in terms of writing scalable, performant code & job prospects too. Have a read.

 

More On the Blog 

What is Liquid Software Development? My take on it

How to pick the right front end language for your app – explained with use cases

Designing a video search service with AWS – Cloud architecture 

What database does Facebook use – a deep dive 

How Does PayPal Processes Billions of Messages Per Day with Reactive Streams?

What is a Cloud Architect? – A Thorough Insight & Why Should You Become One?

 

Well, Guys!! This is pretty much it. If you liked the article, do lemme know in the comments.
Share it with your geek friends. Friends aspiring to be a JavaScript developer.

I’ll see you in the next article.
Until then…
Cheers!!