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


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.


    <main id="main">
      <h1 id="title">freeCodeCamp Survey Form</h1>
      <p id="description">Thank you for taking the time to help us improve the platform</p>
      <div id="form">
      <form id="survey-form"> 
        <label for="Name" id="name-label" >Name</label>
        <input type="text" name="Name" id="name" placeholder="Enter your Name" required>
        <label for="Email" id="email-label" >Email</label>
        <input type="email" name="Email" id="email" placeholder="Enter your email" required>
        <label for="Number" id="number-label" >Age (optional)</label><br>
        <input type="number" name="Number" id="number" min="16" max="99" placeholder="Enter your age" >
        <label id="dropdown-label">Which option best describes your current role?</label><br>
        <select id="dropdown">
          <option value="Student">student</option>
          <option value="full-time-job">Full time job</option>
          <option value="Full-time-learner">Full time learner</option>
          <option value="prefer-not-to-say">prefer not to say</option>
          <option value="other">other</option>
        <p>Would you recommend freeCodeCamp to a friend?</p>
        <lable for="recommend">
        <input type="radio" name="recommend" value="Definitely">
        <lable for="Definitely">Definitely</lable>
        <input type="radio" name="recommend" value="maybe">
        <lable for="Maybe">Maybe</lable>
        <input type="radio" name="recommend" value="not-sure">
        <lable for="not-sure">Not sure</lable>
        <p>What is your favorite feature of freeCodeCamp?</p>
          <option value="challenges">challenges</option>
          <option value="projects">projects</option>
          <option value="community">community</option>
          <option value="open-source">open source</option>
          <option value="other">other</option>
        <p>What would you like to see improved? (Check all that apply)</p>
        <input type="checkbox" value="Front-end-Projects" name="Front-end-Projects">
        <lable for="Front-end-Projects">Front-end Projects</lable>
         <input type="checkbox" value="Back-end-Projects" name="Back-end-Projects">
        <lable for="Back-end-Projects">Back-end Projects</lable>
         <input type="checkbox" value="Challenges" name="Challenges">
        <lable for="Challenges">Challenges</lable>
        <p>Any comments or suggestions?</p>
        <textarea id="textarea" rows="4" columns="20">Enter your comments here</textarea>
        <button type="submit" id="submit">Submit</button>


  width: 13%
main {
  text-align: center;



                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments.