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.


                <form action="" method="POST">
  <input type="text" name="name" class="name" placeholder="Full Name">
  <input type="email" name="email" class="email" placeholder="Email" required>
  <button class="submit">Send the Mail</button>
<pre id="response"></pre>

<!-- meta -->
<div class="meta">
      <a href="">See blog post for this CodePen</a>
    <p>Created by <a href="">Allure Web Solutions</a></p>
    <a href=""><img src="" width="100"></a>


                /* meta */
.meta {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #eee;
  padding: 1em;
  text-align: center;
  font-size: .7em;


                $('.submit').click(function() {
    type: 'POST',
    url: '',
    data: {
      'message': {
        'from_email': 'FROM_EMAIL_GOES_HERE',
        'to': [{
            'email': $('.email').val(), // get email from form
            'name': $('.name').val(), // get name from form
            'type': 'to'
          /*, {
                        'email': 'RECIPIENT_NO_2@EMAIL.HERE',
                        'name': 'ANOTHER RECIPIENT NAME (OPTIONAL)',
                        'type': 'to'
        // optional merge variables. must also be setup on the list management side of mandrill
        'merge_vars': [{
          'rcpt': $('.email').val(),
          'vars': [{
            'name': 'COOLFRIEND',
            "content": 'Mike'
          }, {
            'name': 'YEARS',
            'content': '27'
        'autotext': 'true',
        'subject': 'EMAIL_SUBJECT_GOES_HERE',
        'html': "Hey *|COOLFRIEND|*, we've been friends for *|YEARS|*.", // example of how to use the merge tags
        'track_opens': true,
        'track_clicks': true,
  }).done(function(response) {
    console.log(response); // if you're into that sorta thing

// Credits:

// meta
var getUrl =;
if ( != "") {
  document.querySelector(".meta").style.display = "none";