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


                <h1><font color="blue">Digital Cash Register using MoneyButton</font><br></h1>
<h2>To use this Digital Cash Register <font color="blue">NOW</FONT>:</h2>
  <li>Change the <font color="blue">data-to</font> field to the customer's moneybutton email address (currently set to</li>
  <li>Change the <font color="blue">data-amount</font>.
  <li>Change the <font color="blue">data-currency</font>.</li>
  <li>Change the <font color="blue">data-op-return</font>.</li>
  <li>Swipe right.</li>

Test it with 0.001 as a microtransaction :-D

<div class="money-button"
  data-on-payment="myCustomCallback" "payload"
  data-success-message = 'Convert this hex to string to reveal the missing pdf of the pizzle 687474703a2f2f7777772e70726f6a6563747768697465686f7273652e636f6d2f706466732f626f79642f7061747465726e732532306f66253230636f6e666c6963742e706466'
  data-op-return = '19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAut  
Hey Stephen its attractfunding from twitter tx generated by lets chop it up sometime  UTF-8  hello.html'

<p id="consolelogdata"></p>

<h4>Your receipt will be found on chain as well as in the Console Log that you can access from the bottom left-hand corner of your screen.</h4>

<p id="payload"></p>

  function myCustomCallback (payment) {
  console.log('A payment has occurred!', payment); 
  document.getElementById("consolelogdata").innerHTML = "Your transaction has been approved. Thanks for shopping! We'll see you next time.";

<script src=""></script>