received error due to cost not being defined.
in my console output for the item and cost receiving an undefined.
discovered how to correct error of switch.
Added a default to make sure someone chooses one of the options.
removed the return statement.
Added explanatory comments.
Added an alert that displays information to the user.