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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <html lang="pl">
  <meta charset="utf-8">
  <link rel="stylesheet" type="text/css" href="default.css">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
  <link href=',latin-ext' rel='stylesheet' type='text/css'>
  <link href='' rel='stylesheet' type='text/css'>
  <script src=""></script>
  <script type="text/javascript" src="quotes.js"></script>
  <div class="text-center">
    <h1> Random quote machine </h1>
    <p> Get your todays quote! </p>
    <div id="quote">
      <h2 id="quote-placement"></h2>
    <button type="button" class="btn-success" id="quote-button"> Generate! </button>
<footer class="footer">
  <div class="text-center">
    <h3> Made with love by <span class="signature">Piorys</span></h3>



                body {
  background-image: url(;
  background-size: cover;
  display: table;
main {
  background: #8C2323;
  width: 60%;
  font-family: "Lato";
  Color: #e5e5e5;
  border-radius: 5px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

main button {
  margin: 0 auto;
  width: 100px;
  margin-bottom: 30px;
  margin-top: 30px;
.signature {
  font-family: "Meddon";
.footer {
  background: #8C2323;
  color: #e5e5e5;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;



var quotesArr = ["When you arise in the morning, think of what a precious privilege it is to be alive - to breathe, to think, to enjoy, to love. - Marcus Aurelius", "Everything we hear is an opinion, not a fact. Everything we see is a perspective, not the truth. - Marcus Aurelius", "Let men see, let them know, a real man, who lives as he was meant to live. - Marcus Aurelius", "I've got balls of steel! - Duke Nukem","Don't have time to play with myself. - Duke Nukem"  ];

$(document).ready(function() {

$("#quote-button").click(function() {
var item = quotesArr[Math.floor(Math.random() * quotesArr.length)];