The page that you viewed in the last exercise is part of the website for a tool called Babel. Babel is a popular transpiler for JavaScript that can be integrated into your projects!

On the right, we have a sample project with Babel already configured. Let’s see what Babel can do for us in a development environment.



We have set up Babel for you!

In the terminal, do npm run build.


Use the file explorer to open out/Dog.js and see the resulting transpiled code.

Click “Run” when you’ve had a look.

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?