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.


                <div class="container">
    At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
    On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty.
  <h2>Email us:</h2>
      <a href="" data-part1="hello" data-part2="forecastr" data-part3="com">General Questions</a>
      <a href="" data-part1="support" data-part2="forecastr" data-part3="com">Technical Support Questions</a>
      <a href="" data-part1="sales" data-part2="forecastr" data-part3="com">Sales Questions</a>

<footer class="page-footer">
  <span>made by </span>
  <a href="" target="_blank">
    <img width="24" height="24" src="" alt="George Martsoukos logo">


                body {
  font: 18px/24px sans-serif;
  background: #fafafa;

.container {
  max-width: 1100px;
  padding: 0 15px;
  margin: 0 auto;

–––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
  position: fixed;
  right: 0;
  bottom: 50px;
  display: flex;
  align-items: center;
  padding: 5px;
  z-index: 1;

.page-footer a {
  display: flex;
  margin-left: 4px;


                const links = document.querySelectorAll("[data-part1][data-part2][data-part3]");
for (const link of links) {
  const attrs = link.dataset;