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

              
                <!-------HEAD------->
<head class="head">
  <h1 id="title">Are you satisfied with our agents?<h1>
    <p id="explanation">Answer few questions to help us impove our services.</p>
    </head>
    <!--------HEAD-end-------->
    
<form class="survey-form"> 
    <div class="survey-container">
      <label class="survey__label" for="First-name">First name</label>
    <input id="name-label" class="name" type="text" required placeholder="Enter your first name">
    
    <label class="survey__label" for="E-mail">E-mail</label>
    <input id="email-label" class=email type="e-mail" required placeholder="Enter your e-mail">
    
    <label class="survey__label" for="phone">Number</label> 
    <input id="phone" class="phone" type="numbers" min="8" max="11" required placeholder="Enter your number">
    </div>
<!-----radio---->
    <h2 class="heading">What kind of mission you assigned to our agent?</h2>
    
       <div>
      <input class="shit" id="assassination" name="mission" type="radio">
    <label for="assassination" class="radio__label">Assassination</label>
    </div>
       <div>
      <input class="shit" id="bodyguard" name="mission" type="radio">
    <label for="bodyguard" class="radio__label">Bodyguard</label>
    </div>
         <div>
      <input class="shit" id="stealing" name="mission" type="radio">
    <label for="stealing" class="radio__label">Stealing intelligence</label>
    </div>
        <div>
      <input class="shit" id="investigation" name="mission" type="radio">
    <label for="investigation" class="radio__label">Investigation</label>
    </div>
   <!---Checkbox--->
   <h2 class="heading">How would you describe agent's performance on a mission?</h2>
    <div>
    <input class="checkbox" id="lousy" name"agent" type="checkbox" value="Caring">
      <label for="lousy" class="checkbox__label">Lousy</label>
    </div>
    <div>
    <input class="checkbox" id="serious" name"agent" type="checkbox" value="Serious">
       <label for="serious" class="checkbox__label">Serious</label>
    </div>
    <div>
    <input class="checkbox" id="quick" name"agent" type="checkbox" value="quick-witted">
      <label for="quick" class="checkbox__label">Quick-witted</label>
  </div>
    <div>
    <input class="checkbox" id="gorgeous" name"agent" type="checkbox" value="Gorgeous">
       <label for="gorgeous" class="checkbox__label">Gorgeous</label>
    </div>
    <div>
    <input class="checkbox" id="skilled" name"agent" type="checkbox" value="Skilled">
      <label for="skilled" class="checkbox__label">Skilled</label>
  </div>
    <div>
    <input class="checkbox" id="bold" name"agent" type="checkbox" value="Bold">
      <label for="bold" class="checkbox__label">Bold</label>
    </div>
    <br>
    <!----Dropdown---->
       <form>
       <select id="dropdown">
        <option value="">Rate agent's work</option>
        <option value="Excelent">Excelent</option>
        <option value="Good">Good</option>
        <option value="Bad">Bad</option>
      </select>
         <!------thxarea--->
         <br>
      <textarea id="txt" cols="30" rows="10" class="message"
        placeholder="Enter your remarks here"></textarea>
<div>
    <button type="submit" class="btn">submit</button>
         </div>
  </form>
  
              
            
!

CSS

              
                html{
background:#1c1a1a;
}

/* HEAD */#title{
  font-size:2em;
  color:white;
  text-align:center;
  background:black;
  padding:10px 10px;
}
#explanation, .heading{
  font-size:0.9em;
  color:white;
  text-align:center;
  background:black;
  padding:10px 10px;
} /* HEAD-END */
.survey__label{
  text-align:center;
  margin:auto;
}

 /* All */
.survey-form{
  background:black;
  color:white;
  text-align:auto;
  width:45%;
  margin:auto;
  
}

/*inputs*/
.radio__label, .checkbox__label{
  
}
/*txt*/
#txt{
padding:30px; 
  display:flex;
  margin:auto;
  border:2px solid black;
  :center;
}

/*DROPDOWN*/
#dropdown{
  width:15%;
  margin:auto;
  display:flex;
  
}
/*SUBMIT BUTTON*/
.btn  {
  background-color:#1c1a1a;
  border:#fffffff;
  text-align:center;
  color:white;
  font-size:50px;
  margin:auto;
  padding:auto;
  width:33.5%;
  display: flex;
  align-items: center;
  justify-content: center } /*NOT IT WORKS*/

              
            
!

JS

              
                
              
            
!
999px

Console