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.


                <script src=""></script>


Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 


<div class="container">
        <header class="title"><h1 id="title">Bin Survey Form</h1>
            <p id="description">What's your tech background?</p>

        <form id="survey-form">
            <div class="form-container">
            <div class="form-group"><label for="name" id="name-label">Name</label>
                    <input type="text" name="name" id="name" class="primary-input" placeholder="Enter your name" required></div>
                <div class="form-group"><label for="email" id="email-label" required>Email</label>
                    <input type="email" name="email" id="email" class="primary-input" placeholder="Enter your Email" required></div>
                <div class="form-group"><label for="age" id="number-label">Age <span>(optional)</span></label>
                    <input type="number" name="age" id="number" min="10" max="99" placeholder="Age"class="primary-input"></div>
                <div class="form-group">
                    <p>What's your background on Web Development?</p>
                    <select id="dropdown" name="background" class="primary-input"">
                    <option disabled selected value>Select an option.</option>
                    <option value="undergrad">Bootcamp</option>
                    <option value="self-taught">Self-Taught</option>
                    <option value="degree">WebDev-related degree</option>
                    <option value="preferNo">Prefer not to say</option>
                    <option value="other">Other</option>
                <div class="form-group">
                    <p>What Stack are you using?</p>
                    <label><input type="radio" name="popular-stack" value="mean" class="input-radio" checked>MEAN Stack</label>
                    <label><input type="radio" name="popular-stack" value="lamp" class="input-radio">LAMP Stack</label>
                    <label><input type="radio" name="popular-stack" value="mern" class="input-radio">MERN Stack</label>
                    <label><input type="radio" name="popular-stack" value="ruby" class="input-radio">Ruby on Rails</label>
                <div class="form-group">
                    <p>How many projects do you go through in a month?</p>
                    <select id="dropdown" name="background" class="primary-input">
                    <option disabled selected value>Select an option.</option>
                    <option value="low">1-3</option>
                    <option value="medium">3-5</option>
                    <option value="high">5-6</option>
                    <option value="very-high">6+</option>
                    <option value="preferNo">Prefer not to say</option>
                <div class="form-group">
                    <p>What IDE are you using?</p>
                    <label><input type="checkbox" name="popular-stack" value="NetBean" class="input-checkbox" checked>NetBeans</label>
                    <label><input type="checkbox" name="popular-stack" value="VSCode" class="input-checkbox">VSCode</label>
                    <label><input type="checkbox" name="popular-stack" value="Eclipse" class="input-checkbox">Eclipse</label>
                    <label><input type="checkbox" name="popular-stack" value="IntelliJ" class="input-checkbox">IntelliJ</label>
                    <label><input type="checkbox" name="popular-stack" value="Atom" class="input-checkbox">Atom</label>                                       <label><input type="checkbox" name="popular-stack" value="PyCharm" class="input-checkbox">PyCharm</label>                                 <label><input type="checkbox" name="popular-stack" value="KomodeIDE" class="input-checkbox">KomodeIDE</label>                              
                <div class="form-group">
                    <p>Any comments or suggestions?</p>
                    <textarea id="suggestions" name="suggestions" placeholder="Enter your comment here..." class="comment-area"></textarea>

                <div class="form-group">
                    <button type="submit" id="submit" class="submit-btn">Submit</button>


                @import url('');

    box-sizing: border-box;
    margin: 0px;
    font-family: Roboto, sans-serif;
    font-size: 1.1rem;
body {
    color: #fff;
    line-height: 1.3rem;
html {
    background: url('') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
label {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    margin-bottom: 1rem;

    font-size: 2rem;
    font-weight: 500;
    text-align: center;

#description {
    margin-top: 1.3rem;
    text-align: center;
.form-container {
    width: 60%;
    height: 100%;
    background: rgba(11,36,41,0.8);
    margin: auto;

.title {
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

.form-group {
    padding: .8rem 1.2rem;

::placeholder {
    padding: 0.4rem 0.5rem;
.primary-input {
    width: 100%;
    height: 2.3rem;
    margin: .6rem 0;
    color: #3d3d3d;
    border-radius: 2px;

.comment-area {
    width: 100%;
    height: 90px;
    resize: vertical;

.input-checkbox {
    display: inline-block;
    margin-right: 0.625rem;
    min-height: 1.25rem;
    min-width: 1.25rem;

.submit-btn {
    width: 100%;
    height: 3rem;
    background: #ffcc7b;
    color: #fff;
    cursor: pointer;

/* Media Query */

@media(max-width:768px) {

        width: 100%;
        background: rgba(11,36,41,1);


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