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. 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

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

              
                
<form action="https://getform.io/f/45ef13f5-9912-45e5-8e85-52b17fdd21d9" method="POST" enctype='multipart/form-data'>
<fieldset>
<legend>Personal Information</legend>
<label for="name">Full Name*:</label>
 <input type="text" name="name" placeholder="Your Name*" required="required">
<label for="email">Email Address*:</label>
 <input type="email" name="email" placeholder="Your Email*" required="required">
<label for="phone">Phone Number</label>
<input type="tel" name="phone" placeholder="1-(555)-555-5555">
<div class="radio-group">
  <label for="male">Male</label>
  <input type="radio" name="gender" value="male" />
 <label for="female">Female</label>
 <input type="radio" name="gender" value="female" />
<label for="other">Other</label>
<input type="radio" name="gender" value="other">
  </div>
</fieldset>

<fieldset>
<legend>Job Related Information</legend>
<label for="positions">Applying for Position:</label>
<select name="positions">
 <optgroup label="HR Department">
    <option value="hrmanager">HR Manager</option>
    <option value="hrspecialist" selected>HR Specialist</option>
</optgroup>
 <optgroup label="Marketing Department">
<option value="smanager" selected>Social Media Manager</option>
<option value="mspecialist" selected>Marketing Specialist</option>
</optgroup>
</select>  
<label for="letter">Cover Letter*:</label>
<textarea name="coverletter" rows="10" cols="30" placeholder= "Tell us what motivated you to apply for this position in 250 words or less."  required="required"> </textarea>
<div>
<label for="file">Upload Your CV:
  </label>
<input type="file" name="file"/>
  </div>
<label for="fileprogress">Uploading Progress:
</label>
<progress name="progress" value="75" max="100">%75</progress>
</fieldset>
<button type="submit">Submit</button>  
</form>
              
            
!

CSS

              
                *{font-family: arial}

body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

h1 {
  text-align: center;
}

form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  padding: 20px;
  box-shadow: 0px 0px 16px 4px rgba(0,0,0,0.1)
}
fieldset {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 500px;
}

label, input {
  margin: 0 0 4px 0;
}

select {
  padding: 4px 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
textarea {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

div {
  margin: 10px 0 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 380px;
}

.radio-group{
  display: flex;
  justify-content: space-evenly;
}
              
            
!

JS

              
                
              
            
!
999px

Console