cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

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.

              <div id="home" class="container-fluid bg-1 text-center">
  <h1>Wise Quote Generator</h1>
  <p><img  src="https://upload.wikimedia.org/wikipedia/commons/3/39/GoldFlwr3.gif"/></p>
    <p id ="quoteBody">"This won’t be our last acquisition"</p>

    <p><small id ="author">Tim Mahlman</small></p>

    <button id="generator" class="btn btn-default" onclick="generateQuote()">Another kernel of wisdom</button>
      <button class="btn btn-default" onclick="tweetIt()"><i class="fa fa-twitter"></i> Tweet it </button>   </p>
    <footer class="footer">
    Hanna Hourani - 2016
              h1 {
  font-family: Lobster, Monospace;

              var myQuotes = ["Hanna@Such is life", "Denise@Hannaaaaaaaa", "Lemlem Elias@Yes madam", "Elie@Why Mr. Joe Maalouf? why Mr. Marcel? What is your policy?","Michel@Check after this week with telemetry","Elie@Walla ya mich, after that politic I will never watch it again"];
 quote = myQuotes[Math.floor(Math.random()*(myQuotes.length))
function tweetIt () {
  var phrase = document.getElementById('quoteBody').innerText +" -"+ document.getElementById('author').innerText;
  var tweetUrl = 'https://twitter.com/share?text=' +
    encodeURIComponent(phrase) +
    '.' +
    '&url=' +

Loading ..................