# qooxdoo

## the new era of web development

### Navigation

- index
- next |
- previous |
- » Home »
- qooxdoo v1.3 documentation »
- Standard Applications »

# Playground

The Playground application allows you to play with code in an edit pane, and see the result of running that code in a preview pane. It comes with a set of pre-defined code samples, but many more are available, e.g. from github. Code can also be bookmarked and the links saved and re-run, to re-create the sample you were working on. This allows for easy sharing of running code samples with others.

The scope of the code you can enter in the edit pane is restricted to what you can do in the `main()` method of a standard qooxdoo application class.

## Bookmarklet

Note

experimental

    javascript:(function(s){try{s=document.selection.createRange().text}catch(e){s=window.getSelection().getRangeAt(0).toString()};s=s.replace(/\r?\n/g,"%250D");window.open("http://demo.qooxdoo.org/1.3/playground/#"+encodeURIComponent('{"code":"'+encodeURIComponent(s)+'"}'))})()