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

              
                
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css" />

<h1 id="title"> <span>Survey</span> Form</h1>
<p id="description"> Let Us Know How we can Improve FreeCode Camp</p>
<div class=wrapper animated bounceInLeft>
  <form id="survey-form">
    <div class=info>
    <label class="labels" id="name-label"><i class="fa fa-road"></i>Name</label>
    <div class="inputs">
      <input id="name" type="text" name="name" placeholder="Enter Your Name" required>
    </div>
    <label class="labels" id="email-label">Email</label>
    <div class="inputs">
      <input id="email" type="email" placeholder="Enter Your Email" required>
    </div>

    <label class="labels" id="number-label">Age</label>
    <div class="inputs">
      <input id="number"  required min="12" max="100" type="number" placeholder="Enter Your Age">
    </div>
    </div>
    <div class="survey">
    <label class="labels">Which option best describes your current role?</label>
    <div class="inputs">

      <select id="dropdown" type="dropdown">
         <option disabled selected value>Select an option</option> <option id="student">Student</option> 
        <option id="full-job">Full Time Job</option>
         <option id="full-learner">Full Time learner</option> 
         <option id="not-say">Prefer Not To Say</option> 
       
      </select>
    </div>
    <label>How likely is that you would recommend freeCodeCamp to a friend?</label>
    <ul>
      <li><input type="radio" id="definitely" name="recommend"  value="1" <input/>
        <label>Definitely</label></li>
      <li><input type="radio" value="2" class="inputs" id="maybe" name="recommend" </input>
        <label>Maybe</label></li>
<li><input class="inputs" value="3" type="radio" id="not-sure" name="recommend" />
        <label>Not Sure</label></li>
    </ul>
    <div class="labels">
      <label>What do you like most in FCC</label>
      <select type="dropdown">
         <option disabled selected class="inputs" value>Select an option</option>
  <option class="inputs">Challenges</option>
        <option class="inputs">Projects</option>
        <option class="inputs">Open Source</option>
        <option class="inputs">Community</option>
        
      </select>
       </div>
    <div class="labels">
      <label>Things that should be improved in the future<br>
(Check all that apply):</label>
      <div class="inputs">
        <div class="check"
       <input type="checkbox" value="1">
        <label>Front-End-Projects</label>
        </input>
      <input type="checkbox" value="2" >
        <label>Back-End-Projects</label>
        </input>
    <input type="checkbox" value="3" >
        <label class="inputs">Videos</label>
        </input>
        <input type="checkbox" value="4" >
        <label class="inputs">Data-Visualisation</label>
        </input>
        <input type="checkbox" value="5" >
        <label class="inputs">Open-Source-Community</label>
        </input>
        <input type="checkbox" 
               value="6" >
        <label class="inputs">Gitter-Help-Rooms</label>
        </input>
<input type="checkbox" value="7"  >
        <label class="inputs">City-Meetups</label>
        </input>
        <input type="checkbox" value="8" expected >
        <label class="inputs">Forum</label>
        </input>
        <input type="checkbox" value="9" >
        <label class="inputs">Additional Courses</label>
        </input>
 <input type="checkbox" value="10"  >
        <label class="inputs">wiki</label>
        </input>
<input type="checkbox" value="11"  >
        <label class="inputs">Challenges</label>
</input>
</ul>
</div>
<div class="labels">
  <label>Any Comments or Suggestions?</label>
</div>
<div class="inputs">
  <textarea placeholder="Enter Your Comment Here...."></textarea>
</div>
      </div>
    </div>

  <button type="submit" id="submit">Submit</button>

  </form>
</div>
</div>
</div>
              
            
!

CSS

              
                *{
  box-sizing: border-box;
}

::-webkit-input-placeholder {
  text-align: center;}


body{
  background:#8080ff;
    line-height:1.7;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding:1em;
}
h1{
  text-align:center;
  font-size:40px;
}
p{
  text-align:center;
  font-size:25px
}
form{
  text-align:center;
  max-width:auto;
  padding:1em;
  
}
span{
  color:white;
}
ul{
  list-style:none;
  padding:0;
}
.wrapper{
  box-shadow:0 0 20px 0 rgba(72,94,116,0.7);
  margin:0;
  padding:0;
}

.info{
  background: #99bbff;
  margin:0 0 2rem 0;
  padding:0 0 2rem 0;
  font-size:18px;
  font-weight:bold;
}

.survey {
  background:white;
  line-height:3rem;
  font-weight:bold;
  padding:0;
  margin:0;
}
textarea {
  width:70%;
  height:100px;
  margin:5px;
  padding:3px;
}


button{
  width:25%;
  height:50px;
  margin-bottom:10px;
  background: #00b3b3;
  border:0;
  text-transform:uppercase;
}
button:hover,button:focus{
  background-color:#3333ff;
  color:white;
  font-weight:bold;
  transition: background-color 1s ease-out;
}
.check{
 display:block;

}

              
            
!

JS

              
                
              
            
!
999px

Console