<div class="container">
    <p class="row">A</p>
    <p class="row">+</p>
    <p class="row">B</p>
		<p class="row">=</p>
<input type="text" class="key-add">


html, body {
	height: 100%;
	margin: 5%;
	background: #222111;
.container, .key-add {
    color: #DDD;
    background: #222111;
    padding: 4px 6px;
    border: 1px #222 solid;
    font-family: monospace, sans-serif;
    font-size: 13px;
.container p {
    margin: 0;
    padding: 3px 6px;
.container p:nth-child(odd) {
    background: #333;
.container {
    max-height: 300px;
    overflow: hidden;
    padding: 0;
.key-add {
    width: 100%;
    box-sizing: border-box;


var $cont = $('.container');
$('.key-add').keyup(function(e) {
  $cont[0].scrollTop = $cont[0].scrollHeight;
	if (e.keyCode == 13) {
	  $cont.append('<p>' + $(this).val() + '</p>');
	  $cont[0].scrollTop = $cont[0].scrollHeight;

CodePlay Playground as you play with the keyboard:


The CodePlay Code Box Editors Playground is very simple to use, anyone can directly interact with a minimum of knowledge of HTML experience, live an idea or a project. We believe that only 5% of the developers has the full capacity and knowledge of each key on the keyboard. Therefore we decided to put together a single command from the Key [Esc] == 27.
For every need and every situation the keyboard [Esc] key fixes and puts in place the Original Initial Code Box Editors.
All this without losing the contents of each Box Editors .
!Enjoy your CodePlay.

CodePlay Playground is a project based on WordPress entirely revised to have a clean and dynamic HTML output.


- [Esc] To reset the Box Editors and the closure of any open window overlay, including the Output (FULL) Preview.

New! - Double Click to Expand /Open & Close All Box Editors

New! - Ctrl + Up/Down to Show /Hide the Footer Bar. This allows hide footer bar when you want, + ESC to Back.

New! - Preview in Full page is now also possible via dblClick on the Vertical Drag-bar. Each keyboard action can be Reset via the ESC button.

- Close this? [Esc], or a Click outside.

Front End User - New /Save Post is Now Open, Register *required.
New Play Now