It’s a client-side language that is used by 97.1% of all websites, making it the most popular programming language for web development by far.
Front end skills checklist
Download a free checklist that will walk you through all the skills you need to become a front-end developer.
JS can be used to build 👇
- Hybrid mobile applications that work on both Android and iOS
- Desktop applications
- Interactive elements (e.g., calculators, quizzes)
- Website functions like mouseover effects/click and drag boxes
- User interfaces
- And more!
It can also be used in machine learning, robotics, and other interesting fields.
Jobs that commonly use JS include:
Compiled languages like Java and C++ need to be compiled before they can run. The source code goes through a compiler, which translates the code into bytecode that the machine understands.
⏰ For this reason, JS is often referred to as a “just-in-time” compiled programming language.
JS libraries are reusable pieces of pre-written code that are used to perform common functions. Popular JS libraries include:
- TensorFlow.js ( a library for machine learning)
Read more about the different JS frameworks in this article about JS stacks.
➕ Advantages of JS:
- Little setup involved; you can start coding right in your browser
- Runs in every web browser; no need to download anything extra
- Runs on every device (e.g., mobile, desktop, tablet) so you can write cross-platform apps that work no matter what device the user has
- Relatively easy to learn
➖ Disadvantages of JS:
- Security: since JS code runs on a user’s computer and is viewable by the user, there’s a chance it can be exploited for malicious purposes
- Each browser may interpret JS code slightly differently; users may see different things depending on what browser they’re using
Disclosure: I’m a proud affiliate for some of the resources mentioned in this article. If you buy a product through my links on this page, I may get a small commission for referring you. Thanks!
This 6 hour course is a good starting point for anyone who wants to master the fundamentals of JS.