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.



Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO


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.


Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:


Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO


  <!-- navigation bar -->
  <nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
      <!-- contents of navigation -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <!-- add the toggle button with 3 horizontal lines/bars -->
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        <a class="navbar-brand" href="#">Divya Mistry</a>
      <div class="navbar-collapse collapse" id="navbar">
        <!-- add items to the nav bar -->
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#">Home</a></li>
          <li><a href="#about-me">About</a></li>
          <li><a href="#contact-me">Contact</a></li>
  <div class="container">
    <div class="row text-center">
      <!-- header text -->
      <div class="col-xs-12">
        <!-- name title -->
        <h1>Divya Mistry</h1>
        <h4>I *will* bioinformatics you</h1>
      <!-- social icons -->
      <div class="col-xs-12">
        <a class="btn btn-default" href="" target="_blank">Twitter</a>
        <a class="btn btn-default" href="" target="_blank">LinkedIn</a>
        <a class="btn btn-default" href="" target="_blank">Github</a>
      <!-- inspirational quote -->
      <div class="col-xs-12">
        <blockquote class="blockquote-reverse my-quote">
          <p>The fool doth think he is wise, but the wise man knows himself to be a fool.</p>
          <footer>William Shakespeare in <cite title="India">As You Like It</cite></footer>
    <div class="row text-center" id="about-me">
      <!-- about me -->
      <div class="col-xs-6"> <!-- About me - description -->
        <p class="lead">Consumer and Producer of Sciencey S#!t.</p>
        <p>I am a student of Bioinformatics and Computational Biology. I like making science easier to use and understand. When I'm not in lab/office, I am at home listening to Bollywood tunes.</p>
      <div class="col-xs-6"> <!-- About me - photo -->
        <img class="img-rounded" height="250px" alt="Divya's face" src="">
    <div class="row text-center" id="contact-me">
      <!-- contact me -->
      <div class="col-xs-6"> <!-- contact me photo -->
        <img class="img-rounded" src="" alt="Contact Me">
      <div class="col-xs-6"> <!-- contact me text -->
          <strong>Divya Mistry</strong><br>
          My Street Address<br>
          Unit 001<br>
          Ames, IA 50011<br>
          <abbr title="Phone number">(515) 555-0144</abbr>
    <div class="col-xs-12 text-center my-footer">
      <p>&copy; 2015. Divya Mistry.</p>


                /* Lower the main text below the navigation bar */
body { padding-top: 3em; }
/* each row should be a big screen in itself */
.row { height: 768px; }
/* Spacing above quote */
.my-quote { margin-top: 5em; }
/* Quote text font, size, and color */
.my-quote>p { font-family: "Lora", serif; font-size: 3em; color: #aaa; }
/* Quote attribution font size and color */
.my-quote>footer { font-size: 1em; color: #bbb; }
/* for each of the sections of the page */
#about-me { padding-top: 6em; }
#contact-me { padding-top: 6em; }
/* footer copyright text */
.my-footer { padding: 1em 0em 1em 0em; font-size: 0.8em; }


We would have called your functions earlier, but we were in a bind.