Programming Assignment

Programming Assignment Instructions

 For your third assignment you will continue with your missionary application.  You are going to continue building your webpage by adding some complex components such as functions, radio buttons, decisions, and calculations.

Don't use plagiarized sources. Get Your Custom Essay on
Programming Assignment
Just from $13/Page
Order Essay

This week you are going to take the user input from your application in assignment 2 and create a calculation to determine how much it is going to cost the user for the total trip.  To do so, you will present the user with the ability to enter the number of missionaries going on the trip, the number of days of the trip, and the user is presented with three different locations for the missionary location.  After the user selects the calculate button, the calculation for the total cost is competed and displayed to the user.


The following steps must be included for your app.

  1. Your complete assignment folder must be zipped for submission
  2. You must include the jquery-1.8.3.min.js and jquery.mobil-1.3.1.min.js
  3. Must have width set to device width
  4. All pages must have a header and footer which represents a church activity application
  5. You must set the active link to persist or active according to which one is selected
  6. Your assignment will include three pages: Detail, Missionary, Trip Projection
  7. The detail and Missionary page are the same from week 2.
  8. The following must be included in your Trip Projection Page
    1. The number of people input must be utilized by an input from 1 to 20
    2. The days of trip must be utilized by an input from 1 to 10
    3. Three locations are presented to the user through radio buttons
      1. The locations are of your choice
      2. Each location has a different value cost for the calculation determined by you.
  • The location cost is determined in a function
  1. You must do error checking through functions for the people and days input. Provide the user a message if there is an issue with the input.
  2. Calculate the total cost of the trip:
    1. Use the following calculation: locationcost * numberofpeople * days
    2. Use a function to do the calculation
  3. If the cost of the trip is over $5000 present the user with a message a deposit must be made within two weeks of the current date.
  4. Display the total cost of the trip to the user in a table with the amounts entered.


Please see an example of what a webpage using the details above would look like before calculation.  This is an example and not an exact replica of what you have to produce.  Please feel free to utilize css to design this assignment as you would like it to be.  Please make sure to fulfill all requirements in doing so.  If you have any questions please see your instructor.