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.



  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <link href=' One' rel='stylesheet'>
  <link href='' rel='stylesheet'>
  <link rel="stylesheet" href="">
    <script src=""></script>
    <script src=""></script>
    <link rel="stylesheet" href="//"/>
<h1 class="text-center"></h1>
<div class="container">
  <div class="jumbotron">
    <!--h1 class="text-center">Random Quotes</h1-->
    <div class="row">
      <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"></div>
      <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8 text-center">
        <div class="text-center head" >Collection of the most favorite quotes</div>
        <div class="well" style="background-color: powderblue;">
          <div class="text-center message">
            The quote
          <input type="text" name="hiddenMessage" id="hiddenMessage">
          <div class="text-right author">
        <button type="button" onclick="pageRedirectTwitter()" id="twitter" class="btn-primary btn-lg"><i class="fa fa-twitter"></i></button>
        <button type="button" onclick="pageRedirectGitHub()" class="btn-primary btn-lg"><i class="fa fa-github"></i></button>
        <button type="button" class="btn-primary btn-lg" id="newQuote">New Quote</button>
      <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"></div>



                body {
  /*background-color: #002b3b;*/
  background-image:   url("");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
.head {
  font-family: 'Kumar One';
  font-size: 22px;

.well {
  background-color: powderblue;
.message {
  font-family: 'Playball';
  font-size: 20px;
.author {
  font: italic bold 12px/30px Georgia, serif;



var temp;
  $("#newQuote").on("click", function(){
    //jsonp will remove any cors issue. cross origin resource sharing.
    $.getJSON("", function(json){
      //get the value and format them
      var quote = "";
      var hiddenQuote = "";
      hiddenQuote += json.quoteText;
      //hiddenQuote += '<input type="text" id="hiddenMessage" value="' +json.quoteText+ '">';
      quote += '<strong>“</strong> ' +json.quoteText+ ' <strong>”</strong>';
      var auth = "";
      auth += '- ' +json.quoteAuthor;
var temp = document.getElementById('hiddenMessage').value;
function pageRedirectTwitter() {'' +temp)
function pageRedirectGitHub() {'', 'blank')

//get individual value and save it on .message and .author

        var keys = Object.keys(val);
        html += "<div class = 'result'>";
          html += "<strong>" + key + "</strong>: " +val[key] + "<br>";
        html += "</div><br>";