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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <!DOCTYPEhtml>
<html>

<head>
    
    <title>Survey Form</title>
<style>
    h1{
        
        text-align: center;
    }
    
    #survey{
        height:auto
        width: auto;
        background-color:white;
        margin-right: 200px;
        margin-left: 200px;
        padding-top: 20px;
        padding-left: 220px;
        
    }
    #nilu{
        float:left;
    }
    
    
    body{
        background-color: burlywood;
        font-family:cursive;
        
    }
    
    #space{
        padding-left: 100px;
        
    }
    
    #nel{
        position: relative;
        left: 280px;
        bottom: 60px;
        
    }
    
    #nel2{
        position: relative;
        left:250px;
        bottom: 40px;
        padding-left: 100px;
        padding-bottom: 50px;
    }
    
    #nilu3{
        background-color: skyblue;
        font-family: cursive;
        color: white;
        padding:5px 20px 5px 20px;
        margin-bottom: 20px;
    }
    
    
    </style>

</head>

    <body>
        
            <h1>Survey Form</h1>

            <div id="survey">
                <p id="space">Let us know how we can improve Trident</p>

                <form>
                    Name:
                    <input placeholder="Enter your name"> <br><br>
                    E-mail:
                    <input placeholder="Enter your email"> <br><br>
                    Age:
                    <input placeholder="Age">

                    <p>
                    What is your current role?
                        <select>
                            <option>Student</option>
                            <option>Part-Time Job</option>
                            <option>Full-Time Job</option>
                            <option>Other</option>
                        </select>
                    </p>
                    <p id="nilu">
                    How likely you would <br> recommend others to work <br>at trident?</p>
                        
                        <p> <input type="radio" name="definitley">Definitley</p>
                        <p> <input type="radio" name="definitley">Maybe</p>
                        <p> <input type="radio" name="definitley">Not sure</p>
                        
                    <p>Things you like the most in trident:
                        <select>
                            <option>Work culture</option>
                            <option>Enviroment</option>
                            <option>Growth</option>
                            <option>Nature of employees</option>
                            <option>All of the above</option>
                            <option>None of the above</option>
                        </select>
                    </p>
                    
                    <p>Things that we should improve<br> in the future <br>(Check all that apply)</p>
                    <div id="nel">
                    <p><input type="checkbox">Growth</p>
                    <p><input type="checkbox">Enviroment</p>
                    <p><input type="checkbox">Work culture</p>
                    <p><input type="checkbox">Nature of employee's</p>
                    <p><input type="checkbox">Facilities</p>
                    </div>
                    <p>Any comments or suggestions</p>
                    <textarea id="nel2"></textarea>
                    
                    <button id="nilu3">Submit</button>
                </form>
            </div>
        
    </body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console