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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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



    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
      <div class="container">
        <a class="navbar-brand" href="#">Nazzy's quote machine</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        <div class="collapse navbar-collapse" id="navbarResponsive">
          <ul class="navbar-nav ml-auto">
            <li class="nav-item active">
              <a class="nav-link" href="#home">Home
                <span class="sr-only">(current)</span>
            <li class="nav-item">
              <a class="nav-link" href="#quote">Quote machine</a>

    <!-- Page Content -->
    <div id="home" class="space-top container">
      <div class="row">
        <div class="col-lg-12 text-center">
          <h1 class="mt-5">Nazzy's personal quote machine</h1>
          <p class="lead">Hi, I' m Nazzy <i class="em em-gemini"></i> <i class="em em-flag-bg"></i> tall and beautiful with a non-ending list of tasks.<br \> My boyfrend created this page to keep me motivated. <br \> Isnt't he adorable? <i class="em em-heart_eyes"></i> <i class="em em-heart"></i> <i class="em em-heart_eyes"></i></p>
      <div id="quote" class=" space-top jumbotron jumbotron-fluid">
  <div class="container">
    <h1 id="quote-text" class="display-4"></h1>
    <p id="quote-info" class="lead"></p>
    <button onclick="getQuote()" id="get-quote" type="button" class="btn btn-primary">Get another quote*</button>
     <h6> <br /><br /><br />*One day you 'll see one of my sayings here</h6>







                function getQuote() {
$.getJSON("", function(a) {