⚝ ATP Web Creation



What is JavaScript? | Use of JavaScript | Role of JavaScript in Web Development

JavaScript Introduction | What is JavaScript? | Use of JavaScript | Role of JavaScript in Web Development ATP Web Creation is a best place to develop your websites and various types of applications. We offer design and application development services for every stage of your mobile project.

JavaScript Introduction

Topics Covered: What is JavaScript? | Use of JavaScript | Role of JavaScript in Web Development

What is Javascript? 

Javascript is a popular client side programming language. Which is easy to learn and It needn't any installation. It just works in window browser and other platform like mobile tablet ISO and window as well. It also used in android development in some where.

Its file extension is .js and used in on page and off page as js file which is attached with the HTML document. It is very usable for client side scripting and perform any type of functions.

History of Javascript: The first time javascript i sintroduced in 90s In This decade Internet explorer and Netscape were being very popular browsers. Brendan Eich developed a programming language he named it LiveScript which allowed the browser to respond if command from user. Later It became Javascript. 

Why we use javascript?

Use of Javascript that answers the questions of why javascript is used. 

There are following common uses of javascript:

(i) Changing HTML contents using javascript

(ii) Styling document using javascript

(iii) Developing Web and mobile app

(iv) Developing various platform's games

(v) Other Apllication development

(vi) Creating sever applications 

(vii) It is also used in robotics applications. 

Attachemnt of javascript file in HTML document:

In HTML document javascript is used in two forms:

(i) On page scripting: The script is writen in <script></script> html tags under head tag. 


<!DOCTYPE html>
<html lang="en">

<title>Page Title</title>

<meta name="" content=""/>

<!-- Javascript Coding -->

<script type="text/javascript">

alert("Hello world");


<h1Heading 1</h1>
<p>My paragraph goes here.</p>

(ii) By attaching Javascript file in HTML Document

<script src="my-javascript.js"></script>

What is the use of javascript in web development? 

There are folloing role of java script in web development:

  • The variety of javascript libraries are used in web development like NodeJS, AngularJS, ReactJS and SvelteJS etc. This versatility of javascript gives developers leverage to build a variety of app types with distinctive features and attributes. 
  • It works very fast and smooth for client side programming. 
  • It is also used in interface development in web design.
  • It simplicity makes it wide usable in web development. 
  • Uses of javascript is large community of users and big supports. 
  • In web developing javascript gives a large function to work out without loading web page. 


Your Comment