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

              
                <h1 id="title">Survey Form</h1>
<div id="start">

  <form id="survey-form" action="">

    <p id="description">Let us know how we can improve freeCodeCamp </p>

   
    <div id="label-start">
      <div id="row1"><label id="name-label" for="name"> * Name: </label> <input type="text" name="name"  id="name" placeholder="Enter your name" required/></div><br>
  
   <div id="row2"><label id="email-label" for="email"> * Email: </label>
 <input type="email" name="email"  id="email" placeholder="Enter your Email" required/></label></div><br>
  
<div id="row3"><label id="number-label" for="age"> * Age </label><input type="number" name="age"  id="number" placeholder="Age" min=1 max=150 required/></div><br>

<div id="row4"> <label for="role"> Which option best describes your current role? </label>
  <select id="dropdown">
  <option value="student">Student</option>
  <option value="fullTimeJob">Full Time Job</option>
  <option value="fullTimeLearner">Full Time Learner</option>
  <option value="preferNotToSay">Prefer Not To Say</option>
  <option value="other">Other</option>
</select></div><br>

<div id="row5"><fieldset>
      <legend id="legend1"> * How likely is that you would recommend freeCodeCamp to a friend? </legend> <input type="radio" name="radiobuttons" value="1" required/>Definitely<br>
<input type="radio" name="radiobuttons"   value="2" />Maybe<br>
<input type="radio"  value="3"  name="radiobuttons"  />Not sure<fieldset></div><br>

<div id="row6"><label for="like"> What do you like most in FCC:  </label> 
  <select>
     <option disabled selected value>Select an option</option>
  <option value="Challenges">Challenges</option>
  <option value="Projects">Projects</option>
  <option value="Community">Community</option>
  <option value="Open source">Open source</option>
</select></div><br>

<div id="row7"><fieldset>
      <legend id="legend2"> Things that should be improved in the future
(Check all that apply):</legend>
  <input type="checkbox" name="checkboxes" value="1"/> Front-end Projects<br>
<input type="checkbox" name="checkboxes"  value="2"/>Back-end Projects<br>
<input type="checkbox" name="checkboxes" value="3"/>Data Visualization<br>
  <input type="checkbox" name="checkboxes"  value="4"/>Challenges<br>
<input type="checkbox" name="checkboxes"  value="5"/>Open Source Community<br>
<input type="checkbox" name="checkboxes" value="6"/>Gitter help rooms<br>
  <input type="checkbox" name="checkboxes"  value="7"/>Videos<br>
<input type="checkbox" name="checkboxes"  value="8"/>City Meetups<br>
<input type="checkbox" name="checkboxes" value="9"/>Wiki<br>
  <input type="checkbox" name="checkboxes"  value="10"/>Forum<br>
<input type="checkbox" name="checkboxes"  value="11"/>Additional Courses</fieldset></div><br>

<div id="row8"><label> Any Comments or Suggestions? </label><textarea id="comments" rows="3" cols="50">Enter your comments here...</textarea></div><br>

<div id="row9"><button id="submit" type="submit" value="Submit" id="submit">Submit</button>
</div></div>

</form>
</div>
              
            
!

CSS

              
                h1,#row9{
  text-align:center;
}
body,html {
  background-color: #99ccff;  
  font-family: Trebuchet MS, sans-serif;
   font-size:15px;
}
#legend1,#legend2
{
  font-size:15px;
}
#title
{
  font-family: monospace; 
  font-weight:strong;
  font-size:40px;
  padding:15px;
}
#start{
  padding:30px;
 background-color:white;
  margin:auto;
  width:1000px;
  border-radius:10px;
}
#submit{
  background-color: #99ccff; 
    border-radius: 5px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration:none;
   border: none;
}

#comments
{ display: block;
}
              
            
!

JS

              
                
              
            
!
999px

Console