What is JavaScript ?
#technology #programmer #programming #tech #computer
7 answers
Josh’s Answer
Javascript is a programming language.
It's most famous for being the language that powers your web browser. (There's some javascript code running in the web page you're reading right now!) But it's also a popular choice for writing server programs as well.
BHUSHAN’s Answer
Javascript was developed by Brendan Eich for Netscape Navigator in 1995. JavaScript was specifically developed to be a language embedded into a web browser and automate things on the client side, such as, validate form input before submitting to the server or manipulate the document object model (DOM). In the beginning, that was all it was meant to do.
Then came AJAX (Asynchronous JavaScript and XML). AJAX enabled the browser to talk directly to an executable on the server, fetch an answer and populate the DOM so that new content could be pumped in/removed from the page. This made JavaScript an essential component the browser.
Then came Google's v8 Javascript engine and node.js and it really became a lot more interesting. You could now write server side code in JavaScript.
As far as I know, JavaScript is the only language that can run both on the server and the browser. Firefox OS has all apps written JavaScript. You can write JavaScript apps for Android and iOS.
JavaScript is an implementation of ECMAScript standard. It is currently being improved and is expected to become even more versatile.
Judy’s Answer
JavaScript at its core is pretty simple. I found this definition for you on the web. "JavaScript is the programming language of HTML and the Web. JavaScript is easy to learn. This tutorial will teach you JavaScript from basic to advanced. "
I am not a coder, but work in Network Security and sometimes have to edit HTML code for various website and portal where I design and publish content.
Judy recommends the following next steps:
James Constantine Frangos
James Constantine’s Answer
JavaScript is a sophisticated yet user-friendly programming language, primarily utilized for crafting web applications and dynamic websites. Its inception dates back to 1995 when Brendan Eich, an employee at Netscape Communications Corporation, created it. As a client-side scripting language, JavaScript operates directly on the user's web browser, eliminating the need for server-side processing.
As a fundamental technology, JavaScript works hand-in-hand with HTML and CSS to produce interactive and user-centric web experiences. It empowers developers to infuse websites with various functionalities such as form validation, page content loading without refresh, animated graphics, and much more. Moreover, JavaScript's application isn't limited to client-side programming; it's also suitable for server-side programming via platforms like Node.js.
JavaScript is an object-oriented language, boasting first-class functions and prototype-based inheritance. Its flexibility and adaptability have earned it widespread acceptance and application in diverse areas such as web development, mobile app development, game development, and Internet of Things (IoT) applications.
Several renowned JavaScript libraries and frameworks, including jQuery, React, Angular, Vue.js, and Express.js, aid developers in crafting intricate applications more efficiently. They offer pre-established functionality and best practices for organizing code.
Since its creation, JavaScript has undergone substantial evolution. In 2015, ECMAScript 6 (ES6), also known as ECMAScript 2015, ushered in numerous enhancements to the language syntax and features. Modern JavaScript now incorporates features like arrow functions, classes, modules, template literals, promises, async/await syntax for managing asynchronous operations, and many more improvements. These additions have made it even more potent and expressive for developers.
In conclusion, JavaScript is a vital programming language for contemporary web development, offering interactivity and enhancing user experience on websites and web applications. Its flexibility and ongoing evolution have extended its application beyond the web to various platforms and domains.
May God bless you!
James Constantine.
PRASANJIT’s Answer
Adrian Cunningham
Adrian’s Answer
Oliver’s Answer
To add to Josh's answer, JavaScript (or JS) is used in web pages and is generally used to help make web pages 'intelligent' and interactive because other programming languages cannot do what is needed or it is just easier to do in JavaScript. JavaScript is always used alongside other languages like HTML and CSS to create a web page.
When I say more intelligent I mean that JavaScript allows you to do things with data (like add 3 days to the current date and display this on the webpage or order data in a table in alphabetical order and show you this on the page or check to see if something is true like is it currently morning or afternoon and then show you a different message on the webpage depending on which is it etc...). JavaScript can also be used to respond to an event too on the screen such as if a user clicks on a button then do something in response, like refresh the screen. This is easily achieved in JavaScript, but you cannot do these with HTML and CSS for example.
This is a great tutorial with JavaScript and it allows you to play with coding in JS online: https://www.w3schools.com/js/default.asp
Oliver recommends the following next steps: