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

              
                <body>
  <div class="top-portion">
    <h1 id="title">-Kadoo Squad-</h1>
    <p id="description">Are you worthy?</p>
  </div>
  <form id="survey-form">
    <div class="box-1">
      <div id="name">
        <label id="name-label">Name</label>
        <input type="text" placeholder="Name">
      </div>
      <div id="email">
        <label id="email-label">Your email</label>
        <input type="text" placeholder="Email">
      </div>
      <div id="number">
        <label id="number-label">Your kadoo level</label>
        <input min="1" max="10" type="number" placeholder="Number">
      </div>
    </div>
    <div class="box-2">
      <label id="label"> Are you ready to be a kadoo?</label>
      <div class="rightTab">
        <ul style="list-style: none;">
          <li class="radio"><label>Definitely<input name="radio-buttons" value="1"  type="radio"></label></li>
          <li class="radio"><label>Maybe<input name="radio-buttons" value="2"  type="radio"></label></li>
          <li class="radio"><label>Not sure<input name="radio-buttons" value="3"  type="radio"></label></li>
        </ul>
      </div>
    </div>
    <div class="box-3">
      <label id="dropdown">Why do you want to be a kadoo?</label>
      <select>
    <option disabled selected option>Choose wisely</option>
    <option value="kadoo is in my blood">Kadoo is in my blood</option>
    <option value="a wise man told me to do so">Papi</option>
    <option value="i want to be like a certain someone">Kingdoo</option>
  </select>
    </div>
    <div class="box-4">
      <label for="preferences">Click all that apply:</label>
      <ul id="preferences">
        <li class="checkboxes"><label><input name="prefer" type="checkbox">i am worthy to be a kadoo</label></li>
        <li class="checkboxes"><label><input name="prefer" type="checkbox">ive spent time with a kadoo master</label></li>
        <li class="checkboxes"><label><input name="prefer" type="checkbox">i think amaya is not a real kadoo</label></li>
      </ul>
    </div>
    <div class="comment-box">
      <label for="comments">Leave your comments below</label>
      <textarea id="comments" placeholder="enter your comments below ..."></textarea>
    </div>
    <div class="button">
    <button id="submit" type="submit">Submit</button>
    </div>
  </form>
  </>
              
            
!

CSS

              
                body {
  width: 60%;
  margin: auto;
  background-color: black;
}
#survey-form {
  background-color: black;
  color: red;
  text-align: center;
  border: 5px red solid;
  margin-bottom: 20px;
}
.top-portion {
  text-align: center;
  color: red;
}
.box-1 {
  padding: 10px;
  margin: 0px 0px 10px 0px;
}
.box-1 label {
  display: block;
}
.box-2 {
  padding: 10px;
  margin: 0px 0px 10px 0px;
}
.box-3 {
  padding: 10px;
  margin: 0px 0px 10px 0px;
}
.box-4 {
  padding: 10px;
  margin: 0px 0px 10px 0px;
}
.comment-box {
  margin: 0px 0px 20px 0px;
}
.comment-box label {
  display: block;
  margin-bottom: 10px;
}
.button {
  margin-bottom: 10px;
}

              
            
!

JS

              
                
              
            
!
999px

Console