Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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.


Auto Save

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.


                <base href="">
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="sherby-metadata.html">

<p><b>Warning</b>: as this demo is included into an iframe, you need to look
  <b>inside</b> the head iframe to see that the meta tags data are changed after you have clicked on the buttons.</p>

<!-- Include the sherby-metadata component in your shell component. -->
<sherby-metadata id="metadata" data="[[data]]"></sherby-metadata>

<p>Set the data attribute to your <b>sherby-metadata</b> component.</p>
<button onclick="setMetadata()">Update meta tags data</button>

      * Set the data of the metadata element.
      * @public
  function setMetadata() {
    // eslint-disable-line no-unused-vars
    let meta = document.getElementById("metadata"); = {
      description: "A Polymer element to manage page meta tags for SEO",
      keywords: "polymer,element,meta,tags,page,SEO,search engine optimization",
      title: "udes-metadata: data changed"