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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <div id="outer-form">
<h1 id="title">MBTI Survey</h1>
  <p id="description">Tell us about your opinion of the Myers-Briggs Personality Indicator Types...</p>
<div id="inner-form">
  <form id="survey-form">
  <label id="name-label">Name</label>
  <input id="name" type="name" required   placeholder="Enter Full Name">
  <label id="email-label">Email</label>
  <input id="email" type="email" required placeholder="Enter Email Address">
  <label id="number-label">Age</label>
  <input id="number" type="number" min="13" max="99" placeholder="Age">
  <a>What is your Myers-Briggs Type Indicator?</a> <select id="dropdown">
    <option value="ESFJ">ESFJ</option>
    <option value="ESFP">ESFP</option>
    <option value="ESTJ">ESTJ</option>
    <option value="ESTP">ESTP</option>
    <option value="ENFJ">ENFJ</option>
    <option value="ENFP">ENFP</option>
    <option value="ENTJ">ENTJ</option>
    <option value="ENTP">ENTP</option>
    <option value="ISFJ">ISFJ</option>
    <option value="ISFP">ISFP</option>
    <option value="ISTJ">ISTJ</option>
    <option value="ISTP">ISTP</option>
    <option value="INFJ">INFJ</option>
    <option value="INFP">INFP</option>
    <option value="INTJ">INTJ</option>
    <option value="INTP">INTP</option>
    <a>How accurate is your MBTI?</a><br>
  <input type="radio" name="type-accuracy" value="Completely-Accurate">Completely Accurate<br>

  <input type="radio" name="type-accuracy" value="Accurate">Accurate<br>
  <input type="radio" name="type-accuracy" value="Somewhat-Accurate">Somewhat Accurate<br>
  <input type="radio" name="type-accuracy" value="Not-Accurate">Inaccurate<br>
  <input type="radio" name="type-accuracy" value="Completely-Inaccurate">Completely Inaccurate
    <a>Where has MBTI proved useful to you? (Check all that apply)</a><br>
  <input type="checkbox" name="MBTI-Useful" value="Personal-Relationships">Personal Relationships<br>
  <input type="checkbox" name="MBTI-Useful" value="Professional-Relationships">Professional Relationships<br>
  <input type="checkbox" name="MBTI-Useful" value="Life-Goals">Life Goals<br>
  <input type="checkbox" name="MBTI-Useful" value="Business">In my business<br>
  <input type="checkbox" name="MBTI-Useful" value="School">School<br>
  <input type="checkbox" name="MBTI-Useful" value="Work">Work<br>
  <input type="checkbox" name="MBTI-Useful" value="Nowhere">Nowhere
    <a>What about MBTI has been most valuable to you? If you do not value MBTI, why not?</a>
  <textarea rows="10" cols="50" placeholder="Explain here...">
    <div class="button">
  <button id="submit">Submit</button>
              h1 {
  font-family: helvetica;
  text-align: center;
  font-family: helvetica;
  text-align: center;
#survey-form {
 font-family: helvetica;
#name-label {
  text-align: right;
  font-weight: bold;
#email-label {
  font-weight: bold;
#number-label {
  font-weight: bold;
a {
 font-weight: bold;
#outer-form {
  padding: 12px 0 12px 0;
  background: #cccccc;
#inner-form {
  background: #ffffff;
  margin: 5% 10%;
  padding: 2%;
  box-shadow: 5px 5px 10px rgba(0,0,0,.19);
.button {
  margin: auto;
  width: 50%;
#submit {
  padding: 15px 25px;
  border: 5px;
  border-color: #000000;
  border-ratio: 15%;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.