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.


                <div class="container">
  <div class="row">
    <div class="col-xs-12">
      <h1 class="text-center bold">
  Johann Sebastian Bach
      <div class="text-center"><img src="" alt="Bach's Logo"></div>
      <h2 id="quote1" class="text-center"><em>"The beginning and end of all music"</em></h2>
      <h3 id="max" class="text-center"><footer>Max Reger</footer></h3>
      <div id="portrait" class="text-center"><img src="" alt="Bach Portrait" />
      <h3 style="padding:35px;" class="text-center">Below is a short timeline of the composer's life:</h3>
        <li><strong>1685 - </strong>Johann Sebastian Bach born, 21 March, at Eisenach. Youngest child of Johann Ambrosius Bach, town and court musician, and his wife Maria Elisabetha, née Lämmerhirt. Baptised, 23 March.</li>
        <li><strong>1692 - </strong>Enters Lateinschule, Eisenach.</li>
        <li><strong>1694 - </strong>Mother (50) dies, 1 May.</li>
        <li><strong>1695 - </strong>Father (49) dies, 20 Feb. Bach leaves Eisenach to live with brother, Johann Christoph (24), in Ohrdruf. Enters lyceum there.</li>
        <li><strong>1700 - </strong>Leaves Ohrdruf for Lüneburg. Enrols in Michaelisschule there.</li>
        <li><strong>1702 - </strong>Applies unsuccessfully for organist's post at Jakobirche, Sangerhausen</li>
        <li><strong>1703 - </strong>Court musician at Weimar, March-Sept. Appointed organist at Neuekirche, Arnstadt, 9 Aug.</li>
        <li><strong>1705 - </strong>Granted 4 weeks leave of absence to visit Lübeck in ?Oct, but stays away longer. </li>
        <li><strong>1706 - </strong>Returns to Arnstadt, Jan/Feb. Appears before the consistory to answer for length of absence.</li>
        <li><strong>1707 - </strong>Appointed organist at Blasiuskirche, Mühlhausen, 15 June. Marries Marie Barbara Bach (23) at Dornheim, 17 Oct. </li>
        <li><strong>1708 - </strong>Appointed organist and chamber musician to Duke Wilhelm Ernst at Weimar, June. First child, Catharina Dorotheo, bapt. 29 Dec. </li>
        <li><strong>1710 - </strong>Second child, Wilhelm Friedemann, born, 22 Nov. </li>
        <li><strong>1713 - </strong>Visits Weissenfels, Feb. Third and fourth children (twins), Johann Christoph and Maria Sophia, born 23 Feb, and die, 23 Feb and c.13 March. Bach competes for organist's post at Halle, Dec. </li>
        <li><strong>1714 - </strong>Declines offer of Halle post, Feb, and is promoted to Konzertmeister at Weimar, 2 March. Fifth child, Carl Philipp Emanuel, born, 8 March. </li>
        <li><strong>1715</strong>Sixth child, Johann Gottfried Berhard, born, 11 May. </li>
        <li><strong>1716 - </strong>Examines new organs at Liebfrauenkirche, Halle, 29 April - 2 May, and Augustinerkirche, Erfurt, July. </li>
        <li><strong>1717 - </strong>Appointed Kapellmeister to Prince Leopold at Cöthen, 5 Aug., but is at first prevented by Duke Wilhelm Ernst from taking up the post. Visits Dresden and accepts invitation to take part in contest with Marchand. Is imprisoned
          by Wilhelm Ernst, 6 Nov., but then allowed to leave Weimar, 2 Dec. Examines organ in Paulinerkirche, Leipzig, 16 Dec.</li>
          <li><strong>1718 - </strong>Visits Karlsbad with Prince Leopold, May-June. Seventh child, Leopold Augustus, born, 15 Nov.	</li>
        <blockquote id="quote2"style="padding: 25px;" class="big">
        <p>"His name should've been Meer (Ocean) instead of Bach (Brook).</p>
      <p class="h3 text-primary text-center"><a href="" target="_blank">To know further about the genius composer's life and legacy, click here.</a></p>
  <footer style="padding-top:25px;"class="text-center">
    <p>Written and coded by <a href="" target="_blank">Yousuf Ejazi</a></p>


                body {
  margin-top: 60px;
em {
  font-weight: lighter;

#max {
    font-weight: lighter;
    text-allignment: left;

#quote2 {
  font-weight: lighter;
  font-size: 20px;