css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container-fluid">
  <h1 class="text-muted text-center">J.K. Rowling</h1>
  <h3 class="text-muted text-center"><em>"We do not need magic to transform our world. We carry all of the power we need inside ourselves already."</em></h3>
   <figure class="figure">      
     <img src="http://cdn1us.denofgeek.com/sites/denofgeekus/files/2016/11/rowling.jpg" alt="J.K. Rowling" class="img-responsive img-thumbnail" width="100%" height+"auto">
     <figcaption class="figure-caption">J.K. Rowling, author of the Harry Potter series. Picture by Debra Hurfurd Brown &copy;J.K. Rowling.</figcaption>
  </figure>
  <h4 class="text-muted">A timeline of key dates in J.K. Rowling's life so far:</h4>
  <ul class="text-muted">
    <li>1965 - born in Yate, Gloucestershire, England on July 31</li>
    <li>1990 - conceived of the idea of a young boy attending a school for wizards</li>
    <li>1995 - finished the manuscript for <em>Harry Potter and the Philosopher's Stone</em></li>
    <li>1996 - after being rejected by 12 publishers, Bloomsbury agreed to publish <em>Harry Potter and the Philosopher's Stone</em></li>
    <li>1997 - 1000 copies of <em>Harry Potter and the Philosopher's Stone</em> were printed</li>
    <li>1997 - <em>Harry Potter and the Philosopher's Stone</em> won the Nestle Smarties Book Prize, the British Book Award for Children's Book of the Year and the Children's Book Award</li>
    <li>1998 - Scholastic won the rights to publish the book in the United States and published it later that year as <em>Harry Potter and the Sorcerer's Stone</em></li>
    <li>2007 -the final book in the series, <em>Harry Potter and the Deathly Hallows</em> was released and became the fastest selling book ever, selling 11 million copies in the U.S and the U.K. on the first day of release</li>
  </ul>
  <h5 class="muted-text">To read more about J.K. Rowling's accomplishments, check out this <a href="https://en.wikipedia.org/wiki/J._K._Rowling" target="blank">article.</a></h5>
  <footer>Coded by <a href="https://github.com/kresing" target="blank">Kerri Resing</a>.</footer>
</div>

            
          
!
            
              body {
  background-color: AliceBlue;
}

figcaption {
  text-align: right;
}

footer {
  font-size: .8em;
  text-align: right;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console