Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="main container py-4 my-5 text-center">
  <h1 class="display-1">Pandit Ravi Shankar</h1>
  <h4 class=""><i>The man who brought Indian music to the world</i></h4>
 
    <figure>
  <img src="https://static01.nyt.com/images/2012/12/13/global-home/13shankar-image2/13shankar-image2-jumbo-v2.jpg" alt="Ravi Shankar">
    <figcaption class="bg-white p-1">George Harrison with Ravi Shankar in 1967.</figcaption>
    </figure>
 
  <div>
    <h3>Here's a brief time line of Pandit Ravi Shankar's life</h3>
    
    <div class="container w-75">
      
    <ul class="timeline text-left">
      <li>December 1934 - Ravi Shankar hears Allaudin Khan, the lead musician for the Maihar Court. He is invited by Khan to live with his family in a gurukul, or vedic school, and becomes his disciple. Shankar studies alongside Khan's children, Ali Akbar Khan and Annapurna Devi.</li>
      <li>February 1948 - Ravi Shankar is asked by All India Radio (AIR) to perform "mournful music without tabla accompaniment" following the assassination of Mohandas Gandhi.</li>
      <li>1952 - Shankar is invited to perform for the legendary violinist Yehudi Menuhin, who is on his first concert tour of India. Menuhin is so moved by the experience that he invites Shankar to perform at the Museum of Modern Art in New York.</li>
      <li>August 15, 1969 - Shankar's harrowing experience at Woodstock turns him off from American popular music.</li>
      <li>August 1, 1971 - Shankar hosts the prototypical benefit concert at Madison Square Garden before an audience of 40,000. </li>
      <li>November 1974 - At the invitation of John Gardner Ford, Shankar and Harrison visit the White House the following month but he does not perform.</li>
      <li>1999-  He is honored with the Bharat Ratna, India's highest civilian award</li>
      <li>February 26, 2002 - Blue Note Records releases an album by Norah Jones, Shankar's estranged daughter from an affair with New York concert promoter Sue Jones.</li>
      <li>December 11, 2012 - Pandit Ravi Shankar passes away in San Diego at 92, after undergoing heart-valve replacement surgery a few weeks earlier.</li>
    </ul>

        </div>

          <div class="container w-75 text-left">
          <q class="lead">As for Shankar and the sitar, they are extensions one of the other, each seeming to enter into the other's soul in one of the world's supreme musical arts. It is a thing inimitable, beyond words and forever new. For, as Shankar explained, 90 percent of all the music played was improvised.</q>
       <p class="small"><i>--Paul Hume, music editor, Washington Post</i></p>
      </div>
    
      <div> 
    <legend>For more on this master of Indian classical music, please visit <a target="_blank" href="http://www.ravishankar.org/">the official Ravi Shankar website</a>.</legend>
        </div>
  </div>
</div>

<div class="container w-75 text-center">
  <footer>Written and coded by <a href="https://sikander.me">Sikander</a></footer>  
</div>
              
            
!

CSS

              
                body {
  padding-top: 65px;  
  font-family: Roboto;
}

.main {
  background-color: #EEEEEE;
}

figure {
 display: inline-block;
}

quote{
  color: var(--red);
}

              
            
!

JS

              
                
              
            
!
999px

Console