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" id="cover">
   <div class="text-center">
     <h1>Great Quotes</h1><br>
     <h2><center>Chosen Randomly....</center></h2></div>
<div class="text-center" id="block">
     <div class="text-center well" id="quote"> 
<center><h2><i class="fa fa-envira"></i></h2></center>
       <div class="row">
         <div class="col-l-12 message">   </div>
       <div class="row">
         <div class="col-l-12"><br>         </div></div>
       <div class="row">
         <div class="col-l-12"><br>         </div></div>
<div class="row">
 <div class="col-md-3 text-center"><button class="btn" id="b1"><a href="https://twitter.com/login"> <i class="fa fa-twitter" >Twitter</i></a></button></div> 
  <div class="col-md-3"></div> 
 <div class="col-md-6 text-center">         <button id="qb" class="btn btn-primary">NEXT</button></div></div>
  <div id="feed"></div>
h1{ background-color: grey;
    color: white;
  font-family: lobster;
  font-size: 100px;
h2 {
  font-size: 50px;
  font-family: monospace;
  font-family: times new roman;
#cover {
   background-color: lavender;
  margin : 80px;
  padding: 100px;
  background-color: purple;
#b1 {
  background-color: lavender;
  background-color: grey;
  border-radius:30 px;
  border-color: grey;

 var q ={ 1:"Every gift which is given even though it be small is in reality great if it is given with affection.\n- Pindar",
        2:"There are two great days in a person's life - the day we are born and the day we discover why.\n- Anonymous",
        3: "It's sad to know I'm done. But looking back, I've got a lot of great memories.\n- Bonnie Blair",
         4:"A little learning is a dangerous thing; Drink deep, or taste not the Pierian spring.  - Alexander Pope",
         5: "We look forward to the time when the Power of Love will replace the Love of Power. Then will our world know the blessings of peace.  - William Ewart Gladstone",

6:"It is better to remain silent at the risk of being thought a fool, than to talk and remove all doubt of it.  - Maurice Switzer",
"For success, attitude is equally as important as ability.  - Anonymous",
"Either you run the day, or the day runs you.  - Jim Rohn",
"When I die, I want to go peacefully like my grandfather did–in his sleep. Not yelling and screaming like the passengers in his car.  - Bob Monkhouse",
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down “happy.” They told me I didn’t understand the assignment, and I told them they didn’t understand life.  - Anonymous",
"Never doubt that a small group of thoughtful, committed citizens can change the world. Indeed, it’s the only thing that ever has.  - Margaret Mead",
"People are illogical, unreasonable, and self-centered. Love them anyway. - Kent M. Keith",
"Absence diminishes mediocre passions and increases great ones, as the wind blows out candles and fans fire.   - François (VI) (Duc de La Rochefoucauld)",
"The next time you’re faced with something that’s unexpected, unwanted and uncertain, consider that it just may be a gift.  - Stacey Kramer",
15:"Courage is the discovery that you may not win, and trying when you know you can lose. – Tom Krause",
 "The greatest barrier to success is the fear of failure.  – Sven Goran Eriksson",
"If we’re growing, we’re always going to be out of our comfort zone. – John Maxwell",
"A leader is one who knows the way, goes the way, and shows the way. – John C. Maxwell",
"They can’t hurt you unless you let them. – Unknown",
"The key to change… is to let go of fear. – Rosanne Cash",
"If you wait to do everything until you’re sure it’s right, you’ll probably never do much of anything. – Win Borden",
"Courage is the power to let go of the familiar. – Raymond Lindquist",
"Courage is going from failure to failure without losing enthusiasm. – Winston Churchill",
"There is far more opportunity than there is ability.  – Thomas A. Edison",
"Dream as if you’ll live forever, live as if you’ll die today. – James Dean",
"Every accomplishment starts with the decision to try. – Unknown",
"Shoot for the moon. Even if you miss, you’ll land among the stars. – Brian Littrell",
"Success is not final, failure is not fatal: it is the courage to continue that counts. – Winston Churchill",
"People often say that motivation doesn’t last. Well, neither does bathing – that’s why we recommend it daily. – Zig Ziglar",
"Never, never, never, never give up. – Winston Churchill",
"Most folks are about as happy as they make their minds up to be. – Abraham Lincoln",
"Motivation is what gets you started. Habit is what keeps you going. – Jim Rohn",
"Be miserable. Or motivate yourself. Whatever has to be done, it’s always your choice. – Wayne Dyer",
"There’s always a way – if you’re committed. – Tony Robbins"         
var  htm="";
   var i= Math.floor((Math.random()*(34))+1);
 htm+="<h3><i class='fa fa-quote-left'></i> ";
   var  html="";
   var i= Math.floor((Math.random()*(34))+1);
 html+="<h3><i class='fa fa-quote-left'></i> ";
🕑 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.