Code studio
Write JavaScript, Python or a web page and run it right here. It runs sealed off inside your browser: it cannot reach the internet, this site or your account.
Your code here is not saved. Copy it first, or choose the language again to leave it.
main.js
Tab indents. To leave the editor, press Escape, then Tab.
Create a free account to save your code
Keyboard
- Ctrl Enter run
- Tab / Shift Tab indent or outdent the selected lines
- Ctrl / comment the selected lines on or off
- Esc then Tab move out of the editor
Output
Press Run to see what your code prints with console.log.