JavaScript Scratch Page

This page contains the simplest possible environment for writing and running JavaScript programs: a single text area in which you can write code, with a Run button for executing it. Happy JavaScripting!

Type your script into the text area, then click the Run button to try it. You'll need a browser with some form of JavaScript debugging tool (such as the JavaScript Consoles in Firefox or Chrome) to see if there were problems with your script.