What is JavaScript?, Where It is used?

What is JavaScript?, Where It is used?

JavaScript is a scripting or programming language and one of the core technologies of the web alongside HTML, which is a markup language and is used to create a structure of web page content as well as CSS, which is used to style that content. So JavaScript brings life to the front end or the user interface of a website or a web app. And it allows us to make web pages dynamic. Not only that but it can also be used on the server side to do things like interact with a database and work with the file system with the help of node js runtime. So javascript is a high-level interpreted programming language used to create an interactive and dynamic website experience and interpreted means, It is executed line by line rather than being compiled into machine code first.

Where It is used?

  1. DOM (Document Object Model) manipulation.

  2. Event Handling

  3. A synchronous request

  4. Animation & Effects

  5. Data Manipulation(sorting, filtering etc.)

  6. Storing Data (Cookies, Local storage etc.)

  7. Single Page Application(SPA)

  8. Creating APIs & web services(NodeJs)