Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: Dancer Calculator

  • Create a web application that has a form with 3 fields. Two text fields to accept two numbers and a drop-down list where the user can select one of the 4 basic math operations.

  • When the user submits the for the server will calculate and display the results of the calculation.

  • Also write tests that will verify the proper beahvior of the application

  • You can create a solution using GET and a solution using POST. Just for fun.