Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

HTML

              
                <link href="https://fonts.googleapis.com/css?family=Pacifico|Roboto+Slab" rel="stylesheet">
<html lang="en">
<body>
  <div class="container">
    <div class="row leslie">
      <h1 class="text-center">Leslie Knope</h1>
        <img class="img-circle center-block" src="https://upload.wikimedia.org/wikipedia/en/3/34/Leslie_Knope_%28played_by_Amy_Poehler%29.png" alt="The one and only Leslie Knope">
      <h4 class="text-center"><em>"We need to remember what's important in life: friends, waffles, work. Or waffles, friends, work. Doesn't matter, but work is third."</em></h4>
      <div class="leslie-info">
        <h4><b>Who is Leslie Knope?</b></h4>
          <p>Knope was born on January 18, 1975 in Eagleton, Indiana and has lived in Pawnee, Indiana since infancy. According to the show's timeline, her father died in 1983. She was inspired to pursue a life of public service by the community programs she enjoyed as a child. While attending Pawnee North High School she served as Co-Vice President of the student body and participated in several student organizations including the Model United Nations, Debate Club, Mock Trial, Young Republicans, Young Democrats and Young Independents, which she founded. She graduated in the top five percent of her high school class and summa cum laude from Indiana University's School of Public and Environmental Affairs.</p>
        <h4><b>Personality:</b></h4>
          <ul>
            <li>Cheerful</li>
            <li>Ambitious</li>
            <li>Hard-working</li>
            <li>Optimistic</li>
          </ul>
        <p><em><b>*Note: </b>Leslie Knope is a fictional character and the protagonist of the NBC comedy Parks and Recreation. She is portrayed by Amy Poehler.</em></p>  
        <h4 class="more-info">More info on <a href="https://en.wikipedia.org/wiki/Leslie_Knope">Leslie Knope</a> or <a href="https://en.wikipedia.org/wiki/Amy_Poehler">Amy Poehler</a></h4>
      </div> <!-- end leslie-info -->
    </div> <!-- end row leslie --> 
  </div> <!-- end container -->
  
</body>
  <footer class="text-center">
      <p>Written and coded by Kenny Lim.</p>
  </footer> 
</html>
              
            
!

CSS

              
                body {
  margin: 60px;
  background-color: #99ccff;
}

.leslie {
  font-family: 'Pacifico', cursive !important;
}

.leslie-info {
  padding-top: 10px;
  font-family: 'Roboto Slab', serif;
}

.more-info {
  padding-top: 40px;
  padding-bottom: 40px;
}

              
            
!

JS

              
                
              
            
!
999px

Console