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-fluid" id="main">     
  <h1 id="title">Shortened Johann Sebastian Bach's biography</h1>
  <div id="img-div">
    <a><img src="" alt="Portrait of Bach, aged 61, by E. G. Haussmann, 1748" id="image"></a>
    <h2 id="img-caption">Portrait of Bach, aged 61, by E. G. Haussmann, 1748</h2>    
    <ul id="tribute-info">
        <li><strong>1685 - </strong>Born in Eisenach, the capital of the duchy of Saxe-Eisenach, in present-day Germany.</li> 
        <li><strong>1717 - </strong>Leopold, Prince of Anhalt-Köthen, hired Bach to serve as his Kapellmeister.</li>
        <li><strong>1722 - </strong>Starts the compilation for The Well-Tempered Clavier.</li>
        <li><strong>1723 - </strong>Was appointed Thomaskantor, Cantor of the Thomasschule at the Thomaskirche (St. Thomas Church) in Leipzig, which provided music for four churches in the city.</li>
        <li><strong>1744 - </strong>Ends the compilation for The Well-Tempered Clavier.</li>
        <li><strong>1747 - </strong>Joined the Corresponding Society of the Musical Sciences.</li>
        <li><strong>1749 - </strong>Completed Mass in B minor.</li>  
        <li><strong>1750 - </strong>Dies at the age of 65.</li>
  <p id="description">You can learn more about J. S. Bach <a id="tribute-link" href="" target="_blank">here.</a></p>
 <span class="copy">Designed and Developed by</span><a href="" target="_blank" style="color:orange; text-decoration=none"><b>[<</b>ustaa>]</a>


                  h1 {
    font-family: 'Josefin Sans', sans-serif;
  h2 {
#image {
  margin: 20px;
  width: 80%;
  height: auto;
  max-width: 50% ;
  position: relative;
  margin: auto;
  display: block;
.kustaa-logo {
  width: 4%;
.copy {
  font-size: .8em;
  margin-right: .8%;
@media (max-width: 600px) {
  .kustaa-logo {
    width: 15%;