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.


                <!DOCTYPE html>
<html lang="en" dir="ltr">
        <meta charset="utf-8">
        <title>FCC: Survey Form</title>
        <link href="" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
        <link rel="stylesheet" href="styles.css">
        <div class="header">
            <h1 id = "title" class ="text-center">FreeCodeCamp Survey Form</h1>
            <p id = "description" class = "text-center">Thank you for taking the time to help us improve the platform</p>

        <div class="main container">
            <form id = "survey-form" class = "needs-validation">
                <div class="mb-auto">
                    <label for="name" class = "form-label"  id = "name-label">Name</label>
                    <input id = "name" type="text" name="name" class = "form-control" placeholder="Enter your email" required autofocus>
                <div class="mb-auto">
                    <label for="email" class = "form-label"  id="email-label">Email</label>
                    <input id = "email" type="email" name="email" class = "form-control" placeholder="Enter your name" required>
                <div class="mb-auto form-group">
                    <label for="age" class = "form-label" id ="number-label">Age <span class ="text-muted small">(optional)</span></label>
                    <input type="number" name="age" id = "number" class = "form-control" max = "99" min = "1" placeholder="Age">
                <div class="mb-auto form-group">
                    <label for="role" class = "form-label">Which option describes you the best?</label>
                    <select class="form-select" name="role" id = "dropdown">
                        <option value="" selected disabled>Select current role</option>
                        <option value="">Student</option>
                        <option value="">Full Time Job</option>
                        <option value="">Full Time Learner</option>
                        <option value="">Prefer not to say</option>
                        <option value="">Other</option>
                <p class = "mb-auto" id = "recommend">Would you recommend FreeCodeCamp to a friend?</p>

                <div class="container-fluid">
                    <div class="mb-auto">
                        <input type="radio" name="recommend" class ="form-check-input" value="Definitely">
                        <label for="Definitely" class = "form-check-label">Definitely</label>
                    <div class="mb-auto">
                        <input type="radio" name="recommend" class ="form-check-input" value="maybe">
                        <label for="maybe" class = "form-check-label">Maybe</label>
                    <div class="mb-auto">
                        <input type="radio" name="recommend" class = "form-check-input" value="not-sure">
                        <label for="not-sure" class = "form-check-label">Not Sure</label>

                <div class="mb-auto form-group">
                    <label for="feature" class = "form-label">What is your favorite feature on FreeCodeCamp?</label>
                    <select class="form-select">
                        <option value="" disabled selected>Select an option</option>
                        <option value="">Challenges</option>
                        <option value="">Projects</option>
                        <option value="">Community</option>
                        <option value="">Open Source</option>

                <div class="mb-auto form-group">
                    <span>What would you like to see improved?</span><span class = "text-muted small"> (check all that apply)</span><br>
                    <div class="mb-auto">
                        <input type="checkbox" name="frontend" class = "form-check-input" value = "frontend">
                        <label for="fronted" class = "form-check-label">Front-end Projects</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="backend" class="form-check-input" value="backend">
                        <label for="backend" class = "form-check-label">Back-end Projects</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="Data" class="form-check-input" value="data">
                        <label for="data" class = "form-check-label">Data Visualization</label>

                    <div class="mb-auto">
                        <input type="checkbox" name="challenge" class="form-check-input" value="challenges">
                        <label for="challenge" class = "form-check-label">Challenges</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="open" class="form-check-input" value="open">
                        <label for="open">Open Source Community</label>

                    <div class="mb-auto">
                        <input type="checkbox" name="gitter" class="form-check-input" value = "gitter">
                        <label for="gitter" class = "form-check-label">Gitter Help rooms</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="videos" class="form-check-input" value = "videos">
                        <label for="videos" class = "form-check-label">Videos</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="meet" class="form-check-input" value="city">
                        <label for="meet" class = "form-check-label">City Meetups</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="wiki" class="form-check-input" value="wiki">
                        <label for="wiki" class = "form-check-label">Wiki</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="Forum" class="form-check-input" value="forum">
                        <label for="Forum" class = "form-check-label">Forum</label>
                    <div class="mb-auto">
                        <input type="checkbox" name="courses" class="form-check-input" value="courses">
                        <label for="courses" class = "form-check-label">Additional Courses</label>

                    <div class="form-floating">
                        <p>Any comments or suggestions?</p>
                        <textarea class = "form-control" id ="comments" placeholder ="Enter your comment here..."></textarea>
                    <div class="d-grid gap-2">
                        <button type = "submit" class="btn" id = "submit">
    <script src="" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
    <script src="index.js" charset="utf-8"></script>



    color: ghostwhite;
    background: #1b1b32;
    background-image: linear-gradient(113deg, rgba(58, 58, 158, 0.8), rgba(136, 136, 206, 0.7) ), url(;
    display: block;

    font-style: italic;
    background-color: rgb(27, 39, 66);
    z-index: 10;
    border-radius: 1%;
    margin-top: 7%;
    opacity: 90;
    width: 60%;
    margin-left: 7%;
    margin-right: 7%;

    margin-top: 5px;
    margin-bottom: 5px;
    padding-right: 15px;
    margin-top: 10px;
    padding: 0;
    display: inline-flex;
    height: 100px;
    background-color: rgb(35, 149, 75);
    margin-top: 7%;
    margin-bottom: 5%;
    color: white;

    margin-top: 40px;
    margin-bottom: 20px;



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