How to learn JavaScript quickly? What is JavaScript?
JavaScript is an Object Oriented Programming language that is primarily used to create interactive web-based interfaces. Does that sound too technical? Well, let us understand a few examples: • • •
When you hover your mouse over a button, the button lightens up indicating that it is clickable. While browsing Facebook, when you click on the name of your friend, a chat window pops up. When you search for a tutorial in Hackr.io website, you instantly get the search results.
In all of the above examples, you do some action (hovering, clicking, typing) and in return, something happens. This interactivity is exactly where JavaScript comes into the picture. JavaScript captures these actions/events and based on that it takes some action/trigger. It is JavaScript that provides you the interactivity in the frontend. HTML provides the content, CSS provides the look and feel of this content, JavaScript provides interactivity over this content. Without JavaScript, the web experience would be quite boring. Another place where JavaScript is widely used is in backend development using modern web frameworks like NodeJS. In fact, there is a popular web stack called as MEAN stack which comprises for MongoDB, ExpressJS, AngularJS, and NodeJS.