JavaScript in the Industry
JavaScript
JavaScript is a programming language that allows you to implement complex features on web pages. Every time a web page does more than just sit there and display static information for you to look at displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. — you can bet that JavaScript is probably involved. It is the third layer of the layer cake of standard web technologies, two of which HTML and CSS we have covered in much more detail in other parts of the Learning Area.
JavaScript is a dynamic computer programming language. JavaScript is used both on the client-side and on the server-side which allows you to make web pages interactive. Where HTML and CSS are languages that provide structure and style to web pages, JavaScript provides interactive elements to web pages that engage the user.
JavaScript use case
JavaScript is mainly used for creating a web-based application. and javaScript is also used beyond the webserver and controls the embedded hardware. javascript is used for —
1. Game Development:- you can also use it to create browser games.
2. Interactive web pages:-
javascript allows the developer to create interactive web pages. for example — change the color of a button when the mouse hovers over it, zooming in and zooming out on an image, displaying animations, show or hide more information with the click button.
3. Creating web and mobile apps:-
Developers can use various JavaScript frameworks to develop and build web and mobile apps. A JavaScript framework is a collection of JavaScript code libraries that provide pre-written code for developers to use for routine programming features and functions.
Popular JavaScript frameworks
1. React JS:- React is an open-source front-end JavaScript library that is used for building user interfaces or UI components. React can be used as a base in the development of single-page or mobile applications
2. Angular JS:- Angular js is a typescript web application framework. Angular helps build interactive and dynamic single-page applications with its compelling features including templating,
3. Vue JS:- Vue JS is a progressive framework. it is used to build web interfaces and one-page applications. Not for web interfaces, Vue. js is also used both for desktop and mobile app development.
4. Node JS:- Node.js is an open-source server-side runtime environment built on Chrome’s V8 JavaScript engine. Node.js can be used to build different types of applications such as command-line applications, web applications, real-time chat applications, etc.
What javascript doing on your page
Let's briefly recap the story of what happens when you load a web page in a browser (first talked about in our How CSS works article). When you load a web page in your browser, you are running your code (the HTML, CSS, and JavaScript) inside an execution environment (the browser tab). This is like a factory that takes in raw materials (the code) and outputs a product (the web page).
Many companies use JavaScript frameworks
1. Google
2. LinkedIn
3. Ola
4. Uber!