---
title: "What do you understand  by client-side JavaScript?"  
description: "What do you understand  by client-side JavaScript?"  
author: "Nishi Tiwari"  
published: 2020-06-11  
updated: 2020-06-11  
canonical: https://www.mindstick.com/forum/155984/what-do-you-understand-by-client-side-javascript  
category: "javascript"  
tags: ["javascript"]  
reading_time: 3 minutes  

---

# What do you understand  by client-side JavaScript?

[Describe](https://www.mindstick.com/interview/12752/what-is-ddms-describe-some-of-its-capabilities) about [Client](https://www.mindstick.com/articles/23198/3-steps-to-ensure-that-your-client-portal-is-impeccable)-side [script](https://www.mindstick.com/interview/477/how-can-i-execute-a-php-script-using-command-line) with [detailed](https://yourviews.mindstick.com/view/84608/what-are-hindenburg-s-allegations-against-adani-detailed-explanation) and also with suitable images.

## Replies

### Reply by Shrikant Mishra

### Server-side and Client-side Programming

#### The Server-side Programming concept :

These are the program that runs on server dealing with the generation of content of web page.

- 1) Querying the database
- 2) Operations over databases
- 3) Access/Write a file on the server.
- 4) Interact with other servers.
- 5) The Structure of web applications.
- 6) Process user input. For example, if user input is a text in the search box, run a search algorithm on data stored on the server, and send the results.

**Some Examples** :

These are Programming languages for server-side programming are :

- 1) PHP
- 2) C++
- 3) Java and JSP
- 4) Python
- 5) Ruby on Rails

#### The Client-side Programming :

These are the program that runs on the client machine (browser) and deals with the user interface/display and any other processing that can happen on client machine like reading/writing cookies.

- 1) Interact with temporary storage
- 2) Make interactive web pages
- 3) Interact with local storage
- 4) Sending a request for data to the server
- 5) Send a request to the server
- 6) work as an interface between server and user

These are the Programming languages for client-side programming :

- 1) Javascript
- 2) VBScript
- 3) HTML
- 4) CSS
- 5) AJAX

### Reply by Nishi Tiwari

**The Client-side JavaScript** is one of the most common form of the language. These scripts must be included in an HTML document so that the code is to be interpreted by any browser.

This meant that the web pages need not be a static HTML, but they can include programs that interact with the user, also control the browser, and [**dynamically create the HTML content.**](https://www.mindstick.com/forum/155703/what-is-viewstate-in-mvc)

Using of JavaScript client-side mechanism provides many advantages over traditional CGI server-side scripts. For example, they might use JavaScript to check whether the user has entered a valid e-mail address or not in a form field.\

This JavaScript code is executed when the user submits the form, and it can only be submitted to the Web Server ,if all the entries are valid.

JavaScript can be used to trap the user-initiated events like button clicks, link navigation, and other actions which users initiates explicitly or implicitly.

![What do you understand  by client-side JavaScript?](https://www.mindstick.com/mindstickforums/be190fee-c4f0-40cb-9bc1-59de3fef07d4/images/7d26205a-97ad-4b49-a888-47559a0e3c32.jpeg)\


---

Original Source: https://www.mindstick.com/forum/155984/what-do-you-understand-by-client-side-javascript

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
