Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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

              
                <script src="https://cdn.jsdelivr.net/npm/guidechimp@1/dist/guidechimp.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/guidechimp@1/dist/guidechimp.min.css">

<H1>GuideChimp Tour Example</H1>
<H2>Embedded Video</H2>
<div class="tour-container">
  <H3>NetLicensing <a href="https://netlicensing.io/licensing-models/" target="_blank">Licensing Models</a></H3>
  <div id="try-and-buy" class="tour-section">Try & Buy</div>
  <div id="subscription" class="tour-section">Subscription</div>
  <div id="pricing-table" class="tour-section">Pricing Table</div>
  <div id="multi-feature" class="tour-section">Multi-Feature</div>
  <div id="node-locked" class="tour-section">Node-Locked</div>
  <div id="pay-per-use" class="tour-section">Pay-per-Use</div>  
  <div>
    <button id="startTour" class="start-tour">Start Tour</button>
  </div>
</div>
              
            
!

CSS

              
                body {
  font-family: Roboto;
}
h1,h2,h3 {
  text-align: center;
}
.tour-container {
  background: #FFFAF0;
  width: 800px;
  margin: 20px auto;
  padding: 15px 20px 30px 20px;
  text-align: center;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
.tour-section {
  display: inline-block;
  border-radius: 3px;
  border: 1px solid grey;
  padding: 20px;
  margin-bottom: 5px;
  width: 200px;
  color: white;
}
#try-and-buy { background: #E14817; }
#subscription { background: #F08B53; }
#pricing-table { background: #7B2A10; }
#multi-feature { background: #AB6543; }
#node-locked { background: #87888A; }
#pay-per-use { background: #F2951C; }
.start-tour {
  color: white;
  font-size: 20px;
  border-radius: 3px;
  padding: 10px 20px;
  border: 1px solid #87888A;
  background: #7B2A10;
  display: inline-block;
  margin-top: 20px;
}
.tour-button {
  color: white;
  font-size: 16px;
  border-radius: 3px;
  padding: 5px 20px;
  border: 1px solid #87888A;
  background: #7B2A10;
  display: inline-block;
  margin-left: 10px;
}

.gc-tooltip {
  min-width: 400px !important;
  max-width: 500px !important;
}

.gc-description {
  max-height: 400px !important;
}

              
            
!

JS

              
                var tour = [
    {
      title: 'Create Onboarding Feature Tours with GuideChimp (Tutorial)',
        description: 'Today, we arere going to check out a JavaScript library (linked below) called GuideChimp. It allows you to quickly and easily create feature tours/walk-throughs for new users of your app. I amm going to show you exactly how to get it up and running, and integrated into an actual project!<br><br><iframe width="500" height="300" src="https://www.youtube.com/embed/LEEbe9Kp3xs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>',
    },
];

var guideChimp = new GuideChimp(tour);

document.getElementById('startTour').onclick = function () {
    guideChimp.start();
};

              
            
!
999px

Console