Question

In: Computer Science

JavaScript is executed all on the client side within the browser. What kind of tasks or...

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.

Solutions

Expert Solution

# 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,


Related Solutions

Why are the language features of JavaScript especially well­-suited to client side programming?
Why are the language features of JavaScript especially well­-suited to client side programming?
What is State Guaranty Fund? What kind of support and tasks it implies? How it accumulates...
What is State Guaranty Fund? What kind of support and tasks it implies? How it accumulates fund?
What is State Guaranty Fund? What kind of support and tasks it implies? How it accumulates...
What is State Guaranty Fund? What kind of support and tasks it implies? How it accumulates fund?
What are all important side Effects of Amlodipine?
What are all important side Effects of Amlodipine?
1- What is your favorite retailer? 2- What type of retailer is it, and what specific kind within that type
  DQ1 – Retail Tales   1- What is your favorite retailer? 2- What type of retailer is it, and what specific kind within that type (check Chapter 2 for specifics on this one!)? 3- Why do you like this retailer? 4- Who are the 3 biggest competitors for your favorite retailer? 5- What specifically would one of those competitors have to do to get you to shop there instead? You do need to come up with a specific and...
Approximately what percent of normally distributed data values lie within 2 standard deviation to either side...
Approximately what percent of normally distributed data values lie within 2 standard deviation to either side of the mean?
What kind of conditions can lead to stagflation? Select the two correct answers below. Select all...
What kind of conditions can lead to stagflation? Select the two correct answers below. Select all that apply: Workers have just received wage increases that reflect expectations of future inflation. A few months later, however, prices rise faster than expected. A military conflict results in a sharp and unexpected rise in the cost of oil. Prices tend to remain sticky even though wages have risen. Over the course of a year, unemployment falls at a rate directly proportional to the...
What about the side of marriages that we often omit from our discussions? Saving all my...
What about the side of marriages that we often omit from our discussions? Saving all my love for you? (Whitney Houston).
What is the best trick to be able to draw all polar curves within 5 minutes?...
What is the best trick to be able to draw all polar curves within 5 minutes? Please provide detailed clarification and some examples.
1.1 What occur within 4 hr of a pathogen first breaching anatomic barriers (select all that...
1.1 What occur within 4 hr of a pathogen first breaching anatomic barriers (select all that apply)? a. Activation of complement b. Defensins are released c. Release of Histatins d. Activation of T-cells e. Lysozyme digestion of bacterial cell walls 1.2 what cell type of the innate immunity is primarily responsible for dealing with intracellular pathogens (select one)? a. Mast Cells, b. B-cells, c. Neutrophils, d. Macrophages, e. Natural Killer cells
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT