All right! Time to put your new knowledge to work by refactoring some existing code. Refactoring is just a fancy way of saying we’re improving the structure or appearance of our code without changing what it actually does.

We won’t cover every bit of syntax from the previous exercises, but we’ll hit the highlights. Ready?



Refactor the contents of the editor to just one line of code.

Take this course for free

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?