Create a data structure containing a list of degrees available (i.e. PhD, MS, MA, BS, etc) and a price for each degree.
2) Create a form that will prompt the user for their name, a credit card number, a check box indicating whether the credit card is visa or mastercard, and a drop-down list of the degrees offered (populated from the data created in step 1).
3) Upon submission of the form, the code will validate that all of the requested data has been provided. In the event any of the data is missing, the form will be redisplayed with a message indicating what data was missing without losing any previously provided data (sticky form).
4) If all the requested data has been provided, the webpage will display a confirmation message indicating the user's name, the degree requested, the credit card number/type, and the amount being charged.
5) The bottom of the page should include a button or link allowing the user to request another degree.