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

+ 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.


  body {
    background-color: #6666ff;

<link rel="stylesheet" href="//"/>
<div class="row">
  <div class="col-md-3"></div>

  <div class="col-md-6" style="background-color: white; border-radius: 10px; margin-top: 20%">
    <div class="row text-center">
      <div class="col-md-12" style="padding-top:10px">
        <h1>Famous Last Quotes</h1></div></div>
    <div class="row text-center">
      <div class="col-md-12 message" style="padding: 50px 0px 50px 0px">Quote</div>
       <div class="quoteText"></div>
    <div class="quoteAuthor"></div>
    <div class="row text-center">
      <div class="col-md-4" style="padding: 15px 0px 30px 0px">
      <a class="twitter-share-button"
        <i class="fa fa-twitter-square fa-3x" style="color: #6666ff"></i></a>
      <div class="col-md-4"></div>
      <div class="col-md-4" style="padding: 20px 0px 30px 0px">
      <button id = "getQuote" class= "btn btn-primary" style="background-color: #6666ff; border:0; cursor:pointer;">
        Next Quote




                $(document).ready(function() {
 $.getJSON("", function(json) {
var quote = json.quoteText; 
var author = json.quoteAuthor;
$(".quoteText").append("<p>" + quote + "</p>" );
$(".quoteAuthor").append("-"+ author +"-" );