Turning the console version of the calorie counter application into a web application