Pen Settings



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


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 id="title">Almond Milk Survey</h1>
  <p id="description"><b>Almond Milk Preference</b></p>

<form id="survey-form">
  <label id="name-label"> Name:</label>
<input type="name" placeholder="Enter Your Name" id="name" required>
  <label id="email-label"> Email:</label>
 <input type="email" placeholder="Enter Your Email" id="email" required>
  <label id="number-label">Age(optional):</label>
 <input type="number" placeholder="Age" id="number" min="18" max="60">

  <p><label>Why Do You Drink Almond Milk?</label>
  <select id="dropdown">
  <option value="" disabled="disabled" selected="true">Select Option</option>
    <option value="Lactose Intolerant">Lactose Intolerant</option>
    <option value="Veganism">Veganism</option>
    <option value="Health Benefits">Health Benefits</option>
    <option value="Other">Other</option>
  <p><label> Would You Recommend Almond Milk to Friends and Family?</label>
  <input type="radio" name="Recommend" value="Definitely">Definitely</input>
<input type="radio" name="Recommend" value="Yes">Yes</input>
<input type="radio" name="Recommend" Value="Maybe">Maybe</input>
<input type="radio" name="Recommend" value="No">No</input></p>

<p><label>Which is Your Favorite Brand of Almond Milk?</label>
  <input type="checkbox" name="Fav Brand" value="Almond Breeze">Almond Breeze</input>
<input type="checkbox"  name="Fav Brand" value="Silk">Silk</input>
<input type="checkbox" name="Fav Brand" value="Califia Farms">Califia Farms</input>
<input type="checkbox" name="Fav Brand" value="None of the Above">None of the Above</input></p>

<p><label>Tell Us Why You Like/Dislike Almond Milk!</label><br><textarea>Enter comments here....</textarea></p>

<input type="submit" id="submit"></input>



  background: URL(;

  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  width: 100%;
  opacity: .9;

  text-align: center;