Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


  <code class="console"></code>


                body {
  background: #000;
pre {
  width: 100%; height: 100%;
  position: absolute;
  background: #333;
  color: #f1f1f1;


                var originalObject = [
        {"first":"Gretchen","last":"Kuphal","email":"","address":"416 Lesch Road","created":"March 1, 2012","balance":"$9,782.26"},
        {"first":"Morton","last":"Mayer","email":"","address":"1602 Bernhard Parkway","created":"April 29, 2017","balance":"$6,596.11"},
        {"first":"Catalina","last":"Daugherty","email":"","address":"11893 Kali Vista","created":"October 16, 2008","balance":"$6,372.86"},
        {"first":"Orpha","last":"Heaney","email":"","address":"8090 Chris Stream","created":"November 21, 2015","balance":"$9,596.26"},
        {"first":"Reva","last":"Mohr","email":"","address":"0291 Kailyn Stravenue","created":"November 6, 2014","balance":"$4,768.37"},
        {"first":"Loma","last":"Keeling","email":"","address":"84460 Samson Knoll","created":"June 13, 2017","balance":"$9,361.16"}

    var duplicateObject = originalObject;

originalObject[0].first = "Ray";

var consoleResult = 'Object equal: ' + (duplicateObject === originalObject) + '<br>';
consoleResult += 'duplicateObject[0]: ' + JSON.stringify(duplicateObject[0]) + '<br>';
consoleResult += 'originalObject[0]: ' + JSON.stringify(originalObject[0]) + '<br>';

document.querySelector('.console').innerHTML = consoleResult;