Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


                <!-- Form Configuration Code -->
  window.funraise.push('create', {form: 271});
  window.funraise.push('config', {form: 271}, {    
    payment: {
      currencies: {   //Set desired currencies
        USD: { //Declare the currency
          symbol:"$", //Set currency symbol
          defaultAmount: 45, //Set default amount
          defaultButton: 4,  //Set the amount button selected
          presets: [25,45,125,250], //Set amount button values
          tipPercent: 3, //Set tip percent
          name: 'USD', //Set the currency name
          minAmount: 50, //Set the minimum amount allowed        
          maxAmount: 500, //Set the maximum amount allowed
        CAD: {
          defaultAmount: 35,
          defaultButton: 4,
          presets: [15,35,100,200],
          tipPercent: 3,
          name: 'CAD',
          minAmount: 30,           
          maxAmount: 300, 
        GBP: {
          defaultAmount: 25,
          defaultButton: 3,
          presets: [10,15,25,50],
          tipPercent: 3,
          name: 'GBP',
          minAmount: 20,           
          maxAmount: 200,

<!-- Button Code -->
<button type="button" data-formId="271">Donate</button>


Min/Max order of precedence
1. HTML button attributes
2. JS currency config
3. JS config



                button {
  background-color: #2979FF;
  color: #ffffff;
  padding: 10px 25px;
  border: none;
  border-radius: 3px;
  margin: 5px 5px 0px 0px;
  letter-spacing: .5px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px auto;
  display: block;