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.


                <body class="background-default page-font">
        <h1 id="title" class="header-text">
            FreeCodeCamp Survey Form
        <p id="description" class="header-text">Thank you for taking the time to help us improve the platform</p>
        <form class="form-container" method="POST" id="survey-form">
            <label id="name-label" for="name">
                <p>Name <input type="text" name="name" id="name" placeholder="Enter your name" required></p>
            <label id="email-label" for="email">
                <p>Email <input type="email" name="email" id="email" placeholder="Enter your Email" required></p>
            <label id="number-label" for="email">
                <p>Age (optional) <input type="number" name="age" id="number" min="12" max="100" placeholder="Age"></p>
            <p>Which option best describes your current role?</p>
            <p class="no-top-margin"><select name="current_role" id="dropdown" size="1">
                <option>Full time job</option>
                <option>Full time learner</option>
                <option>Prefer not to say</option>
                <p>Would you recommend FreeCodeCamp to a friend?</p>                
                <label for="350"><input id="350" type="radio" name="recommed" value="Definitely">Definitely</label>
                <label for="351"><input id="351" type="radio" name="recommed" value="Maybe">Maybe</label>                
                <label for="352"><input id="352" type="radio" name="recommed" value="Not sure">Not sure</label>                
            <p class="mt-30">What is your favourite feature of FreeCodeCamp?</p>
            <p class="no-top-margin"><select name="feature" id="feature" size="1">
                <option>Open source</option>
                <p>What would you like to see improved? <small>(check all that apply)</small></p>
                <label for="front-end"><input id="front-end" type="checkbox" name="front-end" value="Yes">Front-end Projects</label>
                <label for="back-end"><input id="back-end" type="checkbox" name="back-end" value="Yes">Back-end Projects</label>
                <label for="visualisation"><input id="visualisation" type="checkbox" name="visualisation" value="Yes">Data Visualisation</label>
                <label for="challenges"><input id="challenges" type="checkbox" name="challenges" value="Yes">Challenges</label>
                <label for="open-source"><input id="open-source" type="checkbox" name="open-source" value="Yes">Open Source Community</label>
                <label for="gitter"><input id="gitter" type="checkbox" name="gitter" value="Yes">Gitter help rooms</label>
                <label for="videos"><input id="videos" type="checkbox" name="videos" value="Yes">Videos</label>
                <label for="city-meetups"><input id="city-meetups" type="checkbox" name="city-meetups" value="Yes">City meetups</label>
                <label for="wiki"><input id="wiki" type="checkbox" name="wiki" value="Yes">Wiki</label>
                <label for="forum"><input id="forum" type="checkbox" name="forum" value="Yes">Forum</label>
                <label for="additional"><input id="additional" type="checkbox" name="additional" value="Yes">Additional courses</label>
            <div class="text_area">
                <p>Any comments or suggestions?</p>
                <textarea class="text_box" id="comments" placeholder="Enter your comment here..."></textarea>
                <input id="submit" type="submit" value="Submit" style="margin-bottom: 10px;">
        <script src=""></script>


                .background-default {
    background-color: darkblue;
    color: bisque;

    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

.form-container {
    display: flex;
    flex-direction: column;
    margin-left: 20%; 
    margin-right: 20%;
    margin-top: 10px;
    justify-content: center;
    background-color: rgb(50, 99, 187);
    border-radius: 2%;
    border-style: solid;
    border-color: darkgoldenrod;
    align-items: center;
    max-width: 60%;

.page-font {
    font-family: Tahoma, Geneva, sans-serif;

.no-top-margin {
    margin-top: 0px;

label {
    display: block;

.mt-30 {
    margin-top: 30px;

 .text_area {
    width: 80%;
    height: 200px;
    text-align: center;

.text_box {
    width: 80%;
    height: 100px;
    margin-left: 10%;
    margin-right: 10%;