What is java-script (js)

·

2 min read

It is a versatile and essential programming language means it has decision-making capabilities which is used for web development. Its main purpose is to increase user interaction. mostly used for front end but it can also be used in back end.

It allows us to implement complex features on web page.

Earlier websites used to be static in nature and if a user has to extract some information it has to be given directly from the server by refreshing the page, but with introduction of js we can directly access the data from server without reloading and user interface becomes easy.

The js continues to be a crucial technology for creating dynamic and interactive web applications.

ex . car structure /body (html) , car paint (css), car engine + interior designs(js)

History of Javascript

JavaScript was created by Brendan Eich, a Netscape Communications Corporation employee, in just 10 days in May 1995. It was originally named "LiveScript" but was later renamed "JavaScript". In 1997, JavaScript was standardized as ECMAScript by Ecma International to ensure its compatibility across different environments.

Node.js

Ryan Dahl released a cross-platform environment called node.js with the help of node js the javascript which used to be run only in web browsers now can also be run in our system using a run time environment called node.js .

It is built on the V8 JavaScript engine, which is the same engine used by the Google Chrome web browser, making Node.js highly efficient and fast.

Ecmascript - makes rules for different programming languages like js ,it defines the core features and functionality that a scripting language should provide to be considered ECMAScript-compliant.

Ecma International is a standards organization that develops and maintains international standards for various technologies, including programming languages.

ECMAScript 6, commonly referred to as ES6, is a major update to the ECMAScript standard, which is the foundation for JavaScript. ES6 introduced several new features, improvements, and syntactical changes to the JavaScript language

Why Do We Need JavaScript?

  1. Client-Side Interactivity: JavaScript allows developers to create dynamic and interactive web pages.

  2. Enhanced User Experience: JavaScript improves the overall user experience by providing responsive and interactive elements.

  3. Cross-Browser Compatibility: JavaScript helps ensure that web applications work consistently across different web browsers, providing a seamless experience for users.

Uses of JavaScript:

  1. Web Development.

  2. Web Applications.

  3. Server-Side Development.

  4. ​Mobile App Development.

  5. Game Development.

  6. Validations.

  7. Advanced animations.

about html : https://hashnode.com/post/clnj6q6sp000108mm7f7oc893

about css: https://hashnode.com/post/clnk73f9j001009kz3u582tre

Did you find this article valuable?

Support himanshu by becoming a sponsor. Any amount is appreciated!