Click on a code snippet to copy it into your code editor
Frequently Asked Questions
What is Codecademy Labs?
Right now, Labs is a really easy way for you to play with Ruby, Python, and JS without needing to download an editor. In the future, you'll see more cool experiments on the Labs section of our site.
What are some cool features of Codecademy Labs?
- It works offline - see what happens when you turn off your internet access in the middle of a session
- You can share your code snippets with friends and save your session
- You can download the code you've worked on to play with it on your desktop
- It works on your iPhone and iPad! (Ruby and Python not yet supported)
What if I don't know how to use one of the languages?
Use Codecademy to learn them! Check out Codecademy courses to see what you can learn or check out the examples by clicking the "ex" button on each page!
Who can we thank for this awesomeness?
Codecademy Labs is the work of the team at Codecademy, the easiest way to learn how to code. Amjad Masad of Codecademy is responsible for much of Labs, a project built on top of his original work with Max Shawabkeh.
I have more questions!
Check out the main Codecademy about page to learn more about us!
EnterEvaluate the entered command.
Shift+EnterContinue to the next line.
UpPrevious history item.
DownNext history item.
Ctrl+UpMove to the line above the cursor.
Ctrl+DownMove to the line below the cursor.
Ctrl+EMove to the end of the current line.
Ctrl+AMove to the start of the current line.
Ctrl+ZCancel current prompt.
Ctrl+LOpen languages selector.
Ctrl+GOpen examples preview.
Ctrl+HOpen this help page.
Ctrl+SSave session (new revision).
EscapeClose current view.