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 includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.


                <p>👀Use this switcher to quickly jump to useful land surveyor resources, tools and hubs</p>
<select class="switcher">
  <option value="">International Surveyors Week 2020</option>
  <option value="">Global Land Surveyor Heatmap</option>
  <option value="">Become SURVAmbassador For Your Location</option>
  <option value="">Get an affordable Website with</option>
  <option value="">Find and Join your Local Group Forum</option>
  <option value="">Megalist of Land Surveyor Resources and Links</option>
  <option value="">Surveying Tutorials List</option>
  <option value="">Global Member Map</option>
  <option value="">Surveying Equipment Manuals and Guides</option>
  <option value="">Land Surveyors United on Facebook</option>
  <option value="">Surveying Jobs on Facebook</option>
  <option value="">Surveyors Seeking Employment</option>
  <option value="">Add a Support Tab to Your Facebook Page</option>
  <option value="">International Surveyors Week</option>

<iframe class="switch-target" width="100%" height="600" src=""></iframe>


                select { display: block;background:#cc0000;color:#fff; } /* unimportant */


                var switcher$ = $('.switcher'),          // select element
    switchTarget$ = $('.switch-target'); // iframe

switcher$.on('change', switchIframeSrc); // event binding

// our functiono to switch the iframe src
function switchIframeSrc() {
  // set the 'src' attribute of the iframe
  // to the value of the selected option
  switchTarget$.attr('src', switcher$.val());

// call the method on load