One of the ways to get started is to do practice exercises. But there are so many online that it can be hard to choose the right ones for a beginner.
Auto-update content, like a social media feed
Animate visual elements
Add visual feedback on user interactions
Add interactive maps
Trigger pop-ups/offers after user actions
It’s a high-level, interpreted language just like Python. High-level means that a lot of abstraction is made, so you don’t have to deal with memory management as you would with low-level languages like C or C++. Interpreted means that you don’t need to run it through a compiler, and the language can be directly executed by your computer’s processor.
With time, many frameworks have been developed to improve the functionalities and development of JS. The most popular ones are React (and Next.js its sub-framework), Vue (and Nuxt.js its sub-framework), and Angular.
What can it be used for?
It can be used in the front-end and run on the client-side/browser or in the back-end with node.js.
Complete full-stack web apps
Mobile apps (with React Native or Ionic, for example)
Desktop apps (with Electron.js),
Complete shopping cart solutions
Here are the reasons why you should learn JS:
Highly in demand
75% of companies are looking for JavasScript web developers.
Free to learn
Since it’s one of the most popular programming languages, there are a lot of resources to get started. From books, blog tutorials, and videos, you can learn the way that suits you most.
If you are an absolute beginner:
So, now let’s get into it and explore how to get started when you have understood the basics.
Free exercises covering the basics to the more advanced aspect of JS like the DOM (document object modal) async function, and more.
An exercise created by our co-founder Charles. Ideal for beginners to practice the basic fetch function in the CodePen code editor.
An exercise created by our co-founder Charles. Ideal for beginners. You’ll practice creating a simple wishlist with JS in the CodePen code editor.
A resource with 47 exercises to practice whatever your level is, With exercises from well-known universities.
6. Debugging Vue.js
Tutorial and exercise on how to debug your Vue.js frontend. Ideal for intermediate developers.
7. Build a React E-Commerce Web App
8. Progressive Web Application Development with Nuxt
9. Create a Node.js for E-Commerce
Tutorial and exercise about creating a complete eCommerce website using Snipcart, Node.js, and Koa.js as the frontend.
Intro to JS: Drawing & Animation
This is a free course by Khan Academy. Each section is covered with an explanatory video and then you have exercises to practice what you just learned.
This is a course by Code Academy. It’s highly interactive, however, you need a subscription in order to have access to the whole course.
Let us know in the comments how it went if you’ve tried any of the exercises. If you enjoyed it, consider sharing it.