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.


                <!--Invisible Clickable Timecode Annotation - edited by Chris Broughton Jul 2019. Useful for when you have an agenda hardcoded into the video. Place this on top of each option! 

Set timecode on line 15.
<style type="text/css">
  html,body{height:100%;width: 100%;margin: 0 auto;padding:0;}.vidyard-cta-holder{-ms-overflow-x: hidden; overflow-x: hidden; -ms-overflow-y: hidden; overflow-y: hidden;}a{display: block;width: 100%;height: 100%;text-decoration: none;}.vidyard-cta-holder .vidyard_padding {height: 100%; width:100%; overflow: hidden;}
</style><script type="text/javascript">function jumpToSecond(second){var'_')[1]; var playerId=window.frameElement.src.split('/'); playerId=playerId[playerId.length-3]; var playerData={uuid: playerId, event: 'seek', position: second}; window.parent.postMessage(JSON.stringify(playerData), '*');}</script>
<script type="text/javascript">
 function jumpToVideo(chapter_index) {
 API.closeCta({ disablePlay: true });
 API.playChapter({ chapter_index: chapter_index });
<!--Set the timecode in jumpToSecond(#). If you wish to skip to another video, replace the function name with jumptoVideo(#). The first video in the playlist is jumptoVideo(0), the second is jumpToVideo(1) etc-->
<a onclick="jumpToSecond(0)"></a>