Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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.

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 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">Your 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 mt-4 ml-0 text-left sm:mt-0 sm:ml-4">
      <label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">Your 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>
  <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">Which to-do list app that you currently use?</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">JIRA</option>
      <option value="trello">Trello</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="exp" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-400">How's your experience with that?</label>
    <select id="exp" name="exp" 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="not">Not solving my problem</option>
      <option value="slow">It solves my problem but I found it is slow</option>
      <option value="problem">It solves my problem</option>
      <option value="alternative">I need an alternative</option>
    </select>
  </div>
  <div class="mt-4">
    <label for="pricing" class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">If we made a new app that solves your problem, how much would you pay?</label>
    <div class="flex flex-wrap">
      <div class="flex items-center mr-6">
        <input id="5-radio" type="radio" value="5" name="pricing" class="w-4 h-4 text-green-600 bg-gray-100 border-gray-300 focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
        <label for="5-radio" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">$5/mo</label>
      </div>
      <div class="flex items-center mr-4">
        <input id="10-radio" type="radio" value="10" name="pricing" class="w-4 h-4 text-green-600 bg-gray-100 border-gray-300 focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
        <label for="10-radio" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">$10/mo</label>
      </div>
      <div class="flex items-center mr-4">
        <input id="20-radio" type="radio" value="20" name="pricing" class="w-4 h-4 text-green-600 bg-gray-100 border-gray-300 focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
        <label for="20-radio" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">$20/mo</label>
      </div>
      <div class="flex items-center mr-4">
        <input id="30-radio" type="radio" value="30" name="pricing" class="w-4 h-4 text-green-600 bg-gray-100 border-gray-300 focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600">
        <label for="30-radio" class="ml-2 text-sm font-medium text-gray-900 dark:text-gray-300">$30/mo</label>
      </div>
    </div>
  </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">Any suggestions/feedback on new Todo app?</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