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

+ 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 id="survey-form">
      <h1 id="title">Application For Job at Tesla motors</h1>
      <p id="description">
        <strong>Note:</strong>Form is to be completed at least 21 days prior to date.
        <legend><strong>Personal Details:</strong></legend>
        <label for="name-label">Name:</label>
        <input type="text" placeholder="Enter Your Name" id="name-label"><br><br>
        <label for="email-label">Email:</label>
        <input type="email" id="email-label" placeholder="Enter Your Email">
        <label for-="number-label">Phone Number:</label>
        <input type="number" id="number-label" placeholder="Enter Your Number">
        <label for="number">IQ:</label>
        <input type="number" id="number" min="1" max="200" placeholder="Your IQ" size="20">
        <label for="dropdown">Choose Your favourite subject</label>
        <select id="dropdown">
        <input type="radio" id="male" checked>
        <label for="male">Male</label>
        <input type="radio" id="female">
        <label for="female">Female</label>
        <input type="radio" value="other" id="other">
        <label for="other">Other</label>
        <p>Check All that apply.</p>
        <input type="checkbox" value="car" checked>
        I have Tesla Stock.
        <input type="checkbox" value="house">
        I have a Tesla Cybertruck.
        <input type="checkbox" value=million-dollars>
        I have a Model 3.
        <legend>More About You:</legend>
        <textarea placeholder="Enter more about you">
      <input type="submit" id="submit">


                body {
  background-color: #32a862;
#survey-form {
  width: 90%;
  margin: 20px;
  background-color: #ffffff;
  padding: 10px;