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


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.


    <link href=",wght@1,300&display=swap" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="survey-form-style.css">
    <h1 id='title'>Roses are red. background-color: blue; <br>I know you love to code, <br>and I love it too.
    <h3 id= 'description'><em>Tell me more about this thing you love:</em><h3/>
<div class="form-container">
    <form id='survey-form' action='submit'>
        <label for='name' class='name-label'><h4>Name</h4></label>
        <input type='text' class='box' id='name' placeholder="what are you called?" name="name" value="name" required>
        <label for='email' class='email-label'><h4>Email</h4></label>
        <input class='box' type='email' id='email' placeholder="your electronic mail:" value="email" required>
        <label for='age' class='number-label'><h4>Age(Optional)</h4></label>
        <input id='age' type="number"class='box'  placeholder="how old are you?" value='age' min="9" max="120">
        <h4 class="checkboxh3">what languages do you speak?</h4>
        <div id= "checkbox-container">
         <div id="column1">
          <label for="java" id= "checkbox-label"><input id="java" type= "checkbox" name="checkbox1" value="java">Java</label>
        <label for="javascript" id= "checkbox-label"><input id="javascript" type= "checkbox" name="checkbox2" value="javascript">Javascript</label>
        <label for="c" id= "checkbox-label"><input id="c" type= "checkbox" name="checkbox3" value="c">C</label>
        <label for="c++" id= "checkbox-label"><input id="c++" type= "checkbox" name="checkbox4" value="c++">C++</label>
        <label for="python" id="checkbox-label"><input id="python" type= "checkbox" name="checkbox5" value="python">Python</label>
        <div  id="column2">
        <label for="r" id= "checkbox-label"><input id="r" type= "checkbox" name="checkbox6" value="r">R</label>
        <label for="php" id= "checkbox-label"><input id="php" type= "checkbox" name="checkbox7" value="php">PHP</label>
        <label for="sql" id= "checkbox-label"><input id="sql" type= "checkbox" name="checkbox8" value="sql">SQL</label>
        <label for="c#" id= "checkbox-label"><input id="c#" type= "checkbox" name="checkbox9" value="c#">C#</label>
        <label for="htmlcss" id= "checkbox-label"><input id="htmlcss"   
        type= "checkbox" name="checkbox10" value="htmlcss">HTML/CSS</label>
        <div id="column3">
        <label for="unknown" id= "checkbox-label"><input id="unknown"   
        type= "checkbox" name="checkbox11" value="unknown">One I've never heard of</label>
        <h4>What do you love most about coding?</h4>
        <select class='box' name="dropd" id="dropdown" >
            <option disabled selected option>Select your option</option>
            <option value="challenge">The challenges it brings</option>
            <option value="learning">The thrill of learning it</option>
            <option value="god-powers">The ability to create things with it</option>
            <option value="money">$$$</option>
            <option value="everything">Everthing everything</option>
            <option value="nothing">I have no idea</option>
        <label for="date" class="date-labe"><h4>Around when did you write your first line of code?</h4></label>
        <input id='date' class='box' type="date" value="date" name="date" placeholder="select year and/or month followed by any day">
        <label for="hobbies" class="hobby-label"><h4>What do you love to do besides coding?</h4></label>
        <textarea class='box' id="hobbies" type="text" value="hobbies" name="hobbies" placeholder="tell us about your hobbies"></textarea>
        <div id="radio-container">
        <h4>What do you think about this survey?</h4>
        <label for="thumbsup" class="radio1"><input id="thumbsup" type="radio" name="radio" value="thumbsup">Loved it</label>
        <label for="thumbsdown" class="radio2"><input id="thumbsdown" type="radio" name="radio" value="thumbsdown">It absolutely sucks</label>
        <label for="martian-elon" class="radio3"><input id="martian-elon" type="radio" name="radio" value="martian-elon">Elon Musk is a Martian trying to go back home</label>
        <div id="submit-reset-container">
        <input class='box' type="submit" value="submit">
        <input class='box' type="reset" >
        <h5 id="thanks"><em>THANK YOU</em></h5>
        <h2 id="campers-salute">LONG LIVE THE CAMPERS !</h2>
        <p><strong>survey by @curious_avocado</strong></p>


                * {
    box-sizing: border-box;
    margin: 0;
    margin: 0px auto 30px auto;
    line-height: 2.7rem;
    max-height: auto;
    font-family: 'Source Code Pro', monospace;
    margin-top: 30px;
    background-color: rgb(144, 135, 189); 
    box-shadow: 0px 3px 5px 2px rgb(26, 26, 71);
    text-shadow: 1px 1px 0px blue;
@media(max-width: 400px){
    font-size: 1.6rem;
    line-height: 2rem 
    background-color:rgb(87, 87, 163);
    text-align: center;
    margin-left: 0;
    margin-bottom: 29px;
    padding: 40px 40px 40px 40px;
    width: auto;
    text-align: center;
    background-color: rgb(144, 135, 189);
    border-radius: 4px;
h4,label, input, ::placeholder, option{
    font-family: 'Source Code Pro', monospace;
    font-weight: 800;
#checkbox-label, .radio1, .radio2, .radio3{
font-weight: 100;
  padding-left: 5px; 
    margin-bottom: 7px;

    display: flex;
    flex-direction: column;
    margin-bottom: 35px;
    margin-bottom: 15px;
    box-sizing: border-box;
    width: 300px;
    border-radius: 3px;
    border: none;
    height: 30px;
    max-width: 100%;
    box-shadow: 2px 2px 0px blue;
    resize: vertical;
    margin-bottom: 15px;
footer, #thanks{
    font-family: 'Source Code Pro', monospace;
    margin-bottom: 15px;
    background-color: rgb(144, 135, 189); 
    box-shadow: 0px 3px 5px 2px rgb(26, 26, 71); 
    line-height: 2.7rem; 
    margin: 30px auto 30px;
    font-size: 20px;
    opacity: 0.5;
    box-shadow: 0px 3px 5px 2px rgb(26, 26, 71);
    transform: scale(1.1);
input[type='radio'], input[type='checkbox']{
    margin-right: 2.5px;