Code Challenge



This server currently sends the same response for /whatis/apple, /whatis/orange, and /whatis/banana. Write a function to send the same response, and DRY the code by using that function as a callback for all three routes.

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?