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.



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


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.


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


                <div class="whole">
    <h1 style="color:#404040; text-align:center; padding-top:15px">Frederic Chopin</h1>
    <h3 style="color:#606060; text-align:center"><em>The most famous piano composer in history</em><h3>
    <div class="whitepart" style="background-color: #FFFFFF">
      <div class="image">
        <a href="" target="blank"><img class="chopin" src=""></a>
      <p style="margin-left:40px; margin-right: 40px; padding-bottom:10px"><strong>Chopin wrote music primarily for the piano.  He is one of the most renown composers for the instrument and rarely parted with his beloved piano.</strong></p>
  <div class="underpart">
    <h2 style="text-align:center">Some highlights of Chopin's life:</h2>
      <li><strong>1810:</strong> Chopin is born in a Polish state at the time</li>
      <li><strong>1830:</strong> Left poland after completing his musical education as a prodigy</li>
      <li><strong>1832:</strong> Debut Paris concert at the Salle Pleyel, drawing universal attention</li>
      <li><strong>1834:</strong> Attended the Lower Rhenish Music Festival in Aix-la-Chapelle, where he met the famous musicians, Mendelssohn</li>
      <li><strong>1839:</strong> Chopin would spend the next 4 years sole composing music</li>
      <li><strong>1842:</strong> From this point on, Chopin shows signs of serious illness and had to decline performances due to symptoms</li>
      <li><strong>1844:</strong> Composed fewer and fewer pieces as the years went from this point</li>
      <li><strong>1848:</strong> Leaves for a series of concerts in London during the Revolution of 1848 in Paris</li>
      <li><strong>1848:</strong> Last public appearance was on a concert platform at London's Guildhall, by this stage he was terminally ill</li>
      <li><strong>1849:</strong> Chopin died of what is believed to be cystic fibrosis at the age of 39</li>
    <p style="font-size:1.5em">"The most vigorous applause seemed not to suffice to our enthusiasm in the presence of this talented musician, who revealed a new phase of poetic sentiment combined with such happy innovation in the form of his art."</p>
    <p style="color:#606060; font-size:1.2em; margin-top:-25px"><em> -- Franz Liszt in attendance of Chopin's Parisian debut at the Salle Pleyel, 1832</em></p>
    <p style="font-size:1.7em">Listen to chopin's greatest works on this <a href="" target="blank" style="text-decoration:none">youtube playlist</a></p>
    <p style="font-size:1.7em; padding-bottom:15px"><strong>OR</strong> read more about him on his <a href="" target="blank" style="text-decoration:none">wikipedia page</a></p>


                .whole {
  background-color: #FF6868;
  margin-top: -13px;
  margin-bottom: -16px;
  color: #303030;

.whitepart {
  margin: auto;
  position: static;
  width: 830px;
  text-align: left;
  border-radius: 50px;

.underpart {
  display: block;
  margin: auto;
  position: static;
  width: 830px;
  text-align: left;
  border-radius: 50px;

.chopin {
  width: 800px;
  border: 4px solid #606060;
  border-radius: 60px;

.image {
  text-align: center;
  padding-top: 20px;


There are 10 kinds of people, those who understand binary and those who don’t.