Client Side Scripting Language

Client Side Scripting Language


Client-side JavaScript refers to JavaScript code that gets executed by the web browser on the client machine. JavaScript statements can be embedded in a HTML document that can respond to events such as mouse clicks, form input, and page navigation etc. without any network connection.


Introduction Java Script:

JavaScript was created by Brendan Eich and it came into existence in September 1995, when Netscape 2.0 (a web browser) was released.

JavaScript was designed with a purpose to make web pages dynamic and more interactive. JavaScript is one of the popular scripting languages having following features :

(a) It can be used for client and server applications.

(b) It is platform independent which means it can run on any operating systems (i.e. Linux, Microsoft Windows, Mac OS X etc.).

(c) JavaScript codes are needed to be embedded or referenced into HTML documents then only it can run on a web browser.

(d) It is an interpreted language.

(e) It is a case-sensitive language and its keywords are in lowercase only.


Client Server Model

Before stepping ahead, we should know about the Node, Client and Server.

Node

Node is a component or terminal connected to a network. The components like laptops, PDAs, Internet enabled mobiles etc., can be considered as node in a computer network.

Client

It is a node computer that establishes connection with the server, collects data from the user, sends it to the server, receives information from the server and presents it to the user.

Server

In the context of client-server model, server is the counter part of client. It is a computer that serves queries from the client. The programs which respond to the request of clients are known as server applications. The computer designed to run server application is known as server machine. Web server, database server and mail server are some examples of servers.

The Client Server Model is an architecture of computer network where client and server interact by means of a network. Client gathers data from the user as input and sends request to the server. Server processes the request and sends the requested information to the client. Railway reservation system, online banking and online gaming are examples of client-server model.

Question : What is difference between java and javascript

Answer : Some people think that Java and JavaScript are same but both are two completely different languages. Java is a general-purpose objectoriented programming language from Sun Microsystems where as JavaScript is an object-based scripting language. Script refers to short programming statements to perform a task.

Programs

java script code to show the reservation system of XYZ

View Solution


java Script Application for Student attendance

View Solution


java script function max to find largest number

View Solution


JavaScript code that calculates the squares and cubes from 0 to 10

View Solution


JavaScript code to design a simple calculator to perform the following operations sum product difference and quotient

View Solution


CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad Sarkari Exam Quiz