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.


<meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="" rel="stylesheet">

  <body >
  <div id = "topbar" class = "container-fluid text-center">
  <h1 style = "text-align: center";><font size = "25px"> Quote 'em up!</font>
    <div class = "text-center">
  <div  class= "container-fluid" >
    <h2 id="quotey"></h2>
  <button onclick ="randomQuote()"> Push me </button>
    <a href="" class="twitter-share-button" data-show-count="false">Tweet</a><script async src="//" charset="utf-8"></script>

<script src="javascript.js"></script>


                body {background-color: #42aaf4; }
h1 {font-family: Rubik;}
#buttons {text-align: center;}
#topbar {margin: 30px;
color: #beedbb;}


                var quote = ["How many cares one loses when one decides not to be something but to be someone. -Gabrielle “Coco” Chanel" 
 "Be who you are and say what you feel, because those who mind don’t matter and those who matter don’t mind. -Dr. Seuss"
  "Imitation is suicide. -Ralph Waldo Emerson"
"Do your own thing on your own terms and get what you came here for. -Oliver James"
 "Flatter yourself critically. -Willis Goth Regier"
  "Do what you feel in your heart to be right, for you’ll be criticized anyway. -Eleanor Roosevelt"
"Whenever you find yourself on the side of the majority, it is time to pause and reflect.-Mark Twain"
"I will not let anyone walk through my mind with their dirty feet. -Mahatma Gandhi"
"Better to write for yourself and have no public, than to write for the public and have no self. -Cyril Connolly"
"We must not allow other people’s limited perceptions to define us. -Virginia Satir"
"Don’t look for society to give you permission to be yourself. -Steve Maraboli"
"If things go wrong, don’t go with them. -Roger Babson"
"Wanting to be someone else is a waste of who you are. -Kurt Cobain"
"Tension is who you think you should be. Relaxation is who you are. -Chinese Proverb"
"Where’s your will to be weird? -Jim Morrison"

function randomQuote() {
var randomX = Math.floor(Math.random() * 15);
document.getElementById("quotey").innerHTML = quote[randomX] ;