Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <h3><font color="blue">Use MoneyButton & Op_Return to create a file containing a Javascript For Loop with 0.0001 BSV</font><br></h3>
<div class="money-button"
  data-to='bombaclaat@moneybutton.com'
  data-currency="BSV"
  data-button-id="paymentstring"
  data-button-data="{}"
  data-type="tip"
  data-editable="false"
  data-amount = "0.00001"
  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  
Thanks for testing out the unicornlaunching codepen made by attractfunding! UTF-8  hello.html'
></div></h3>

<script src="https://www.moneybutton.com/moneybutton.js"></script>



<h2>Bonus: Check the Console Log (located at the bottom left hand corner of this screen) to see data on the transaction you've just made!</h2>

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

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

<p id = "header"></p>

<script>
  function myCustomCallback (payment) {
  console.log('A payment has occurred!', payment);
  document.getElementById("consolelogdata").innerHTML = document.write('<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PL2PXaLXFkx9_GjMWAHdNkKYyOeXRgUNGq" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>');            
    
    
    
    
}      
</script>



              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console