123

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.

            
              <!DOCTYPE html>
<html>

<head>
  <title>
    Application Beta Testing Survey
  </title>
  <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
</head>

<body>
  <div class="page-container">
    <div class="header-block">
      <h1 id="title">Application Beta Testing Feedback</h1>
    </div>
    <div>
      <p id="description">Thank you for participating in our application beta programme. Now that you've had time to test some of the app functionality, we'd like to get your thoughts on what's working well, what's not so great, and what we should focus on in future.</p>
    </div>
    <div class="form-container">
      <form id="survey-form" action="/?">
        <div class="form-row">
          <div class="left-tab">
            <label id="name-label">Name*</label>
          </div>
          <div class="right-tab">
            <input class="text-input" id="name" type="text" placeholder="Enter your name" required>
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <label id="email-label">Email*</label>
          </div>
          <div class="right-tab">
            <input class="text-input" id="email" type="email" placeholder="Enter your email" required>
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <label id="number-label">Which version of the application are you testing?*</label>
          </div>
          <div class="right-tab">
            <input class="text-input" id="number" type="number" placeholder="Enter the version number" min="1.0.0" max="3.29">
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <label for="dropdown">How many people are employed in your organisation?</label>
          </div>
          <div class="right-tab">
            <select class="text-input" id="dropdown">
            <option>1 - 10</option>
            <option>11 - 25</option>
            <option>26 - 75</option>
            <option>76 - 150</option>
            <option>151 - 500</option>
            <option>501 - 2,500</option>
            <option>More than 2,500</option>
          </select>
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <label for="usage-freq">How often do you use the application?</label>
          </div>
          <div class="right-tab">
            <ul class="list-q">
              <li class="radio"><label><input type="radio" name="usage-freq" value="multiple-day">Multiple times per day</label></li>
              <li class="radio"><label><input type="radio" name="usage-freq" value="once-day"></label>Once per day</li>
              <li class="radio"><label><input type="radio" name="usage-freq" value="few-week"></label>A few times per week</li>
              <li class="radio"><label><input type="radio" name="usage-freq" value="once-week"></label>Once per week</li>
              <li class="radio"><label><input type="radio" name="usage-freq" value="less-freq">Less than once per week</label></li>
            </ul>
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <label for="features">Which features are more important to you?</label>
          </div>
          <div class="right-tab">
            <ul class="list-q">
              <li class="checkbox"><label><input type="checkbox" name="features" value="calls">Calls</label></li>
              <li class="checkbox"><label><input type="checkbox" name="features" value="messaging">Messaging</label></li>
              <li class="checkbox"><label><input type="checkbox" name="features" value="voice-notes" align="left">Voice notes</label></li>
              <li class="checkbox"><label><input type="checkbox" name="features" value="set-availability">Setting availability</label></li>
            </ul>
          </div>
        </div>
        <div class="form-row">
          <div class="left-tab">
            <Label for="comments">Is there anything ese you'd like to tell us about your experience using the application?</label>
          </div>
          <div class="right-tab">
            <textarea class="text-input" rows="4" cols="100" name="coments">Enter your comments here...</textarea>
          </div>
        </div>
        <div class="form-row">
          <div class="submit-btn">
            <input type="submit" id="submit">
          </div>
        </div>
      </form>
    </div>
</body>

</html>
            
          
!
            
              body {
  font-family: roboto;
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, papayawhip, pink);
}

.page-container {
  width: 800px;
  max-width: 70vw;
  margin-top: 45px;
  background-color: white;
  padding: 2vw ;
  border-radius: 15px;
  box-shadow: 5px 5px 40px ;
}

.header-block {
  display: flex;
  justify-content: center;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}

#title {
  display:flex;
}

#description {
  display:flex;
}

.form-container {
  display: flex;
  flex-direction:column;
}

.form-row {
  display: flex;
  padding:1em;
}

.left-tab {
  width: 50%;
  text-align: right;
  padding-right: 1em;
  align-items: center;
}

.right-tab {
  width: 50%;
}

.text-input {
  width: 80%;
}

.list-q {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

.submit-btn{
  width: 100%;
  text-align: center;
  line-height: 3em;
}

#submit {
  font-family: roboto;
  font-size: 28pt;
}
            
          
!
999px
🕑 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.

Console