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'>
    <div class = 'row text-center'>
      <div class = 'col-xs-12 well message'>
        <h2>It's a Quo-Ting</h2>
      <div class = "col-xs-12">
      <button id = "newQuote" onclick="this.blur();" class = "btn btn-default">
        New Quote
      <button id = "tweet" target="_blank" class="btn btn-default onclick="this.blur();"">

      Made by <a class = 'me' target="_blank" href = "https://twitter.com/kyleosborne_">Kyle Osborne</a>
              body {
  padding-top: 100px;
  background-color: gray;
  font-family: Roboto;
main {
  text-align: center;
  max-width: 600px;
  margin: auto;
  padding-left padding-right: 20px;
  padding-bottom: 100px;
.message {
  length: 600px;
  font-size: 25px;
  background-color: white;
  color: gray;

footer {
  padding-top: 20px;
  color: #323030;
  font-size: 20px;

.me {
  color: #323030;
var quotes = ['The good die mostly over some bullshit', 'I calculated every step I know my mathematics', 'My biggest fear is loving you to death and have you going ghost', "I used to paint pictures for peace, but now there's stains of bad blood on all of my canvases", "Sometimes I can't handle all the pressure, pop a couple bottles wanna go to sleep forever", "In a couple years I went from Geoffrey to a meal ticket, momma said that's what you wanted right? deal with it", 
"Don't tell me you cried cus I know that you didn't", "If I said I love you, I'll always love you, that's just the way I was raised", "I know it's not my place to say I love you", "These people will build you up, make you feel like a God, then spit you back out", "I told you they kill us and the way that you choked was so emotional, it made me wish that my mouth never opened", "Everybody knows I'm a ghost, but I can still dream", "Your name never carried no pain, your come up never carried no pain", "We live in a generation of not being together, but we sure make it feel like we're together, cus we hate to see each other with somebody else", "All of my let's just be friends are friends that I don't have anymore", "I got it right now so I'm everybody's friend, but if I ever lose it swear we never speak again", "Luke. Who Has The Trident", "How Can Mirrors Be Real If Our Eyes Aren't Real", "'It's Your Birthday' Mateo Said. I Didn't Respond. 'Are You Not Excited To Be 15' He Asked. Reading My Book I Uttered 'I Turned 15 Long Ago'", "My shorty text me purple hearts cus she know that we at war", "This is all God's doing, you can't plan it. But if the devil's in the details I guess I'm Satanic"]
$('#newQuote').on('click', function() {
  i = Math.floor((Math.random() *          quotes.length) + 0);
 randomQuote = quotes[i];
$('#tweet').on('click', function() {
window.open('https://twitter.com/intent/tweet?text='+ randomQuote, '_blank');

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