In: Computer Science
JavaScript is executed all on the client side within the browser. What kind of tasks or applications do you think is best to be executed completely on the client side, without communicating with the server? Give an example.
# JavaScript is executed on the client side within the browser :
JavaScript is web scripting language which allows us to script the HTML content and CSS presentation of documents in web browsers, but it also allows us to define behavior of these documents with some kind of event handlers.
JavaScript is the most common form of the language among many client-side languages . The script should be written along with an HTML document for the code to be interpreted by the browser.This means that a web page need not be a static HTML, but can include programs with other functionalities .there are many advantages over traditional CGI server-side scripts. on of them is , you might use JavaScript to check whether user has entered a valid e-mail address in a input form field.The JavaScript code is executed when the user submits the form, and only if all the required entries are valid, then it would be submitted to the Web Server.JavaScript can be used to manage all user-initiated events such as button clicks, link navigation, and many other actions .
# Applications that are executed completely on the client side :
1> Chrome Extension : Many chrome extensions are used to add functionalities in the web page .
for example : resizing the webpage automatically ,changing the backgroung color .
2>Calculator : For quick calculations java script calulators are used for smooth mathematical operations .
3>Javascript 2-D Games : javascript games are very much popular these days ,for example 2-D snake game which completely runs of client side .
4>Loan Calculator : JavaScript is used to make loan calculator/reminder .
5.To Do List : Java script is used to make a reminder of jobs list (A TO DO LIST ) which is very personalized.
6:Custome copy/edit button : Some websites like codechef where you see code and you want to copy it but there is no buit in button ,and you are sick of codying by dragging you mouse ,here you can add you own custom copy button .
7.Alarm : Java scipt is popularly used to build remote alam apps for timily reminders.
8 . Automation : Many cool automation applications flooded the markets ,for example an auto sikp ads app.
which click on skip button ,to skip the ads,