Tips
- Click on the HTML or JavaScript labels to hide the JavaScript panel (this is stored to your preferences).
- To only show the HTML panel use #html on the end of the url, such as http://jsbin.com/#html
- “Use as my template” stores the current code as the default code you see when you open a new JS Bin window.
- Refreshing the window will not lose your changes.
- Use
console.log
to display debug information. If Firebug is present, then the logging goes there, otherwise it will show in a custom console window.
- To view only the JavaScript append
/js
to the url, i.e. http://jsbin.com/ujayi/js
Keyboard navigation
The shortcuts are used by using your browser accesskeys
and the key listed below to trigger the shortcut (each browsers' access keys are typically different).
- 1
- View source
- 2
- View preview
- ←
- Focus JavaScript
- →
- Focus HTML