Okay, training wheels off! Now refactor all your /animals routes to animals.js.



Now, do the same refactoring for /animals routes into an animalsRouter Router that you create in animals.js.

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?