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

              
                <div class="m-6">
  <form class="launchlist-form" action="https://getlaunchlist.com/s/JZIFPd" method="POST" target="_blank">
    <div class="grid grid-cols-1 gap-4 sm:grid-cols-2">
      <div class="w-full text-left">
        <label for="name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">First Name</label>
        <input type="text" required="" placeholder="Name" name="name" id="name" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
      </div>
      <div class="w-full text-left">
        <label for="name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">Last Name</label>
        <input type="text" required="" placeholder="Name" name="name" id="name" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
      </div>
      <div class="w-full text-left">
        <label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">Email</label>
        <input type="email" required="" placeholder="Your email" name="email" id="email" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
      </div>
      <div class="w-full text-left">
        <label for="name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">Phone</label>
        <input type="text" required="" placeholder="Name" name="name" id="name" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
      </div>
    </div>
    <div class="w-full mt-4 text-left">
      <label for="whichToDo" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-400">What sales CRM you are using?</label>
      <select id="whichToDo" name="whichToDo" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
        <option value="jira">Salesforce</option>
        <option value="trello">Pipedream</option>
        <option value="sticky">Sticky notes, notepad, word, excel, etc</option>
        <option value="none">I don't use any to-do list app. I keep everything in my brain</option>
        <option value="other">Other</option>
      </select>
    </div>
    <div class="w-full mt-4 text-left">
      <label for="suggestions" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-400">Your message?</label>
      <textarea id="suggestions" name="suggestions" rows="2" class="block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-green-500 focus:border-green-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Any suggestions"></textarea>
    </div>
    <button type="submit" class="mt-4 w-full text-white bg-gradient-to-r from-green-400 to-green-600 focus:ring-4 focus:outline-none font-medium rounded-lg text-sm px-5 py-2.5 text-center">Sign up</button>
  </form>
  <a class="mt-6 block text-xs font-medium text-gray-500" href="https://getlaunchlist.com/?utm_source=codepen">
    <p>Waitlist powered by</p>
    <img src="https://res.cloudinary.com/launchlist/image/upload/w_120/v1652960498/media/Logo_2x_as9n4r.png" alt="LaunchList Logo">
  </a>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console