© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
M. SimonJavaScript for Web Developershttps://doi.org/10.1007/978-1-4842-9774-2_6

6. Creating a Custom Calculator Form

Mark Simon1  
(1)
Ivanhoe, VIC, Australia
 

Web forms are a standard method of allowing the user to communicate back to the web server. This is often to send messages or to place orders. Although forms will work as they are, they are often supplemented with JavaScript to preprocess data and to check over it.

In this project, we will use JavaScript to process data without sending it to the server. In this case, we’ll create a specialized calculator.

In developing this project, we’ll learn about the following:
  • Reading data from a web form

  • Checking ...

Get JavaScript for Web Developers: Understanding the Basics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.