Everywhere we heard that JavaScript is a scripting programming language used to create dynamic web applications. Here some question occurs like
- What is a programming language?
- What is a scripting language?
- What is a web application?
- What is the meaning of a dynamic web application?
So, I am going to answer all these questions first.
Programming language: Programming language means we are writing some codes on the computer and giving the computer instructions.
Scripting language: Scripting language is a language that runs on a computer with some groups of commands within a file and has the capacity to execute codes without compiling. The best example of a client-side scripting language is JavaScript.
Web applications: It is a program that uses a web browser to perform any task over the internet or we can say that program runs with the help of a browser and it needs an active Internet connection.
Dynamic web application: In a dynamic web application the page or data generates in real-time as per every request. The request goes to the server through the browser as an HTTP request. The server sees the request and according to that runs a program at the server-side and sends back the response to the client-side.